Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2016 03:15:46 +0000 (UTC)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300557 - head/usr.sbin/apmd
Message-ID:  <201605240315.u4O3FkMt001717@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605240315.u4O3FkMt001717>