Module Name:    src
Committed By:   jmcneill
Date:           Sun Dec 13 17:06:14 UTC 2015

Modified Files:
        src/sys/external/bsd/libfdt/dist: libfdt_env.h

Log Message:
Fix build


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/external/bsd/libfdt/dist/libfdt_env.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/libfdt/dist/libfdt_env.h
diff -u src/sys/external/bsd/libfdt/dist/libfdt_env.h:1.1.1.1 src/sys/external/bsd/libfdt/dist/libfdt_env.h:1.2
--- src/sys/external/bsd/libfdt/dist/libfdt_env.h:1.1.1.1	Sun Dec 13 16:45:07 2015
+++ src/sys/external/bsd/libfdt/dist/libfdt_env.h	Sun Dec 13 17:06:14 2015
@@ -52,9 +52,14 @@
  *     EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#if defined(_KERNEL)
+#include <sys/param.h>
+#include <sys/types.h>
+#else
 #include <stddef.h>
 #include <stdint.h>
 #include <string.h>
+#endif
 
 #ifdef __CHECKER__
 #define __force __attribute__((force))

Reply via email to