summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2016-05-24 03:15:46 +0000
committerpeter <peter@FreeBSD.org>2016-05-24 03:15:46 +0000
commit4db0fbe675e733d3a66bd5a191ec6fe73738f431 (patch)
tree55f64eba0206b7b16626179a876f76ea27270ca1
parent2889382edd9ff570425d6f8614b99266ee6caba3 (diff)
downloadFreeBSD-src-4db0fbe675e733d3a66bd5a191ec6fe73738f431.zip
FreeBSD-src-4db0fbe675e733d3a66bd5a191ec6fe73738f431.tar.gz
It seems <sys/types.h> is a new prerequisite for <bitstring.h> after
r300539. Attempt to fix the build for i386.
-rw-r--r--usr.sbin/apmd/apmd.c2
-rw-r--r--usr.sbin/apmd/apmdlex.l1
-rw-r--r--usr.sbin/apmd/apmdparse.y1
3 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/apmd/apmd.c b/usr.sbin/apmd/apmd.c
index 585383c..d910c31 100644
--- a/usr.sbin/apmd/apmd.c
+++ b/usr.sbin/apmd/apmd.c
@@ -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>
diff --git a/usr.sbin/apmd/apmdlex.l b/usr.sbin/apmd/apmdlex.l
index b002feb..6434966 100644
--- a/usr.sbin/apmd/apmdlex.l
+++ b/usr.sbin/apmd/apmdlex.l
@@ -30,6 +30,7 @@
* $FreeBSD$
*/
+#include <sys/types.h>
#include <string.h>
#include <syslog.h>
#include <bitstring.h>
diff --git a/usr.sbin/apmd/apmdparse.y b/usr.sbin/apmd/apmdparse.y
index 597982b..97abd28 100644
--- a/usr.sbin/apmd/apmdparse.y
+++ b/usr.sbin/apmd/apmdparse.y
@@ -30,6 +30,7 @@
* $FreeBSD$
*/
+#include <sys/types.h>
#include <stdio.h>
#include <bitstring.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud