aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/apmd
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2016-05-24 03:15:46 +0000
committerPeter Wemm <peter@FreeBSD.org>2016-05-24 03:15:46 +0000
commit00774f35493e67d4a261ca5a847ba805c8ecf3fe (patch)
tree55f64eba0206b7b16626179a876f76ea27270ca1 /usr.sbin/apmd
parent1717b68af1b34154ccbbc72a7fe07210464ceef3 (diff)
Notes
Diffstat (limited to 'usr.sbin/apmd')
-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 585383c7221e..d910c310745c 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 b002feb3f114..6434966a3603 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 597982bd9895..97abd28ab625 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>