svn commit: r300557 - head/usr.sbin/apmd
Peter Wemm
peter at FreeBSD.org
Tue May 24 03:15:47 UTC 2016
Author: peter
Date: Tue May 24 03:15:46 2016
New Revision: 300557
URL: https://svnweb.freebsd.org/changeset/base/300557
Log:
It seems <sys/types.h> is a new prerequisite for <bitstring.h> after
r300539. Attempt to fix the build for i386.
Modified:
head/usr.sbin/apmd/apmd.c
head/usr.sbin/apmd/apmdlex.l
head/usr.sbin/apmd/apmdparse.y
Modified: head/usr.sbin/apmd/apmd.c
==============================================================================
--- head/usr.sbin/apmd/apmd.c Tue May 24 03:13:27 2016 (r300556)
+++ head/usr.sbin/apmd/apmd.c Tue May 24 03:15:46 2016 (r300557)
@@ -32,6 +32,7 @@ static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
+#include <sys/types.h>
#include <assert.h>
#include <bitstring.h>
#include <err.h>
@@ -45,7 +46,6 @@ static const char rcsid[] =
#include <syslog.h>
#include <unistd.h>
#include <sys/ioctl.h>
-#include <sys/types.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <machine/apm_bios.h>
Modified: head/usr.sbin/apmd/apmdlex.l
==============================================================================
--- head/usr.sbin/apmd/apmdlex.l Tue May 24 03:13:27 2016 (r300556)
+++ head/usr.sbin/apmd/apmdlex.l Tue May 24 03:15:46 2016 (r300557)
@@ -30,6 +30,7 @@
* $FreeBSD$
*/
+#include <sys/types.h>
#include <string.h>
#include <syslog.h>
#include <bitstring.h>
Modified: head/usr.sbin/apmd/apmdparse.y
==============================================================================
--- head/usr.sbin/apmd/apmdparse.y Tue May 24 03:13:27 2016 (r300556)
+++ head/usr.sbin/apmd/apmdparse.y Tue May 24 03:15:46 2016 (r300557)
@@ -30,6 +30,7 @@
* $FreeBSD$
*/
+#include <sys/types.h>
#include <stdio.h>
#include <bitstring.h>
#include <stdlib.h>
More information about the svn-src-all
mailing list