svn commit: r218505 - head/lib/libdevinfo
Warner Losh
imp at FreeBSD.org
Thu Feb 10 04:53:09 UTC 2011
Author: imp
Date: Thu Feb 10 04:53:09 2011
New Revision: 218505
URL: http://svn.freebsd.org/changeset/base/218505
Log:
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
Modified:
head/lib/libdevinfo/devinfo.h
head/lib/libdevinfo/devinfo_var.h
Modified: head/lib/libdevinfo/devinfo.h
==============================================================================
--- head/lib/libdevinfo/devinfo.h Thu Feb 10 02:48:27 2011 (r218504)
+++ head/lib/libdevinfo/devinfo.h Thu Feb 10 04:53:09 2011 (r218505)
@@ -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;
Modified: head/lib/libdevinfo/devinfo_var.h
==============================================================================
--- head/lib/libdevinfo/devinfo_var.h Thu Feb 10 02:48:27 2011 (r218504)
+++ head/lib/libdevinfo/devinfo_var.h Thu Feb 10 04:53:09 2011 (r218505)
@@ -27,6 +27,7 @@
* $FreeBSD$
*/
+#include <sys/types.h>
#include <sys/rman.h>
#include <sys/bus.h>
More information about the svn-src-all
mailing list