summaryrefslogtreecommitdiffstats
path: root/lib/libdevinfo
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2011-02-10 04:53:09 +0000
committerimp <imp@FreeBSD.org>2011-02-10 04:53:09 +0000
commit7d2a04ecdc98b050bb7ed4eae147f013f712e33f (patch)
tree6393c7bbc5639eb1668ca715099260ac1474a5ac /lib/libdevinfo
parentf0ab2e35d4d39875b95507a297181c956a50465a (diff)
downloadFreeBSD-src-7d2a04ecdc98b050bb7ed4eae147f013f712e33f.zip
FreeBSD-src-7d2a04ecdc98b050bb7ed4eae147f013f712e33f.tar.gz
sys/rman.h now requires sys/types.h. Include it to make the API match
the man page again. Submitted by: Raphael Kubo da Costa MFC after: 2 weeks
Diffstat (limited to 'lib/libdevinfo')
-rw-r--r--lib/libdevinfo/devinfo.h2
-rw-r--r--lib/libdevinfo/devinfo_var.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/libdevinfo/devinfo.h b/lib/libdevinfo/devinfo.h
index 2b49743..c8990a6 100644
--- a/lib/libdevinfo/devinfo.h
+++ b/lib/libdevinfo/devinfo.h
@@ -31,7 +31,7 @@
#define _DEVINFO_H_INCLUDED
#include <sys/cdefs.h>
-#include <sys/_types.h>
+#include <sys/types.h>
#include <sys/bus.h>
typedef __uintptr_t devinfo_handle_t;
diff --git a/lib/libdevinfo/devinfo_var.h b/lib/libdevinfo/devinfo_var.h
index b409671..bbc5ee1 100644
--- a/lib/libdevinfo/devinfo_var.h
+++ b/lib/libdevinfo/devinfo_var.h
@@ -27,6 +27,7 @@
* $FreeBSD$
*/
+#include <sys/types.h>
#include <sys/rman.h>
#include <sys/bus.h>
OpenPOWER on IntegriCloud