Module Name: src
Committed By: christos
Date: Tue Sep 29 22:14:14 UTC 2015
Modified Files:
src/external/bsd/elftoolchain/dist/libelf: libelf.h
Log Message:
fix the native build
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/elftoolchain/dist/libelf/libelf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/elftoolchain/dist/libelf/libelf.h
diff -u src/external/bsd/elftoolchain/dist/libelf/libelf.h:1.3 src/external/bsd/elftoolchain/dist/libelf/libelf.h:1.4
--- src/external/bsd/elftoolchain/dist/libelf/libelf.h:1.3 Tue Sep 29 15:43:39 2015
+++ src/external/bsd/elftoolchain/dist/libelf/libelf.h Tue Sep 29 18:14:14 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: libelf.h,v 1.3 2015/09/29 19:43:39 christos Exp $ */
+/* $NetBSD: libelf.h,v 1.4 2015/09/29 22:14:14 christos Exp $ */
/*-
* Copyright (c) 2006,2008-2010 Joseph Koshy
@@ -39,8 +39,10 @@
#if HAVE_NBTOOL_CONFIG_H
# include <nbinclude/sys/exec_elf.h>
#elif defined(__NetBSD__)
+# include <sys/types.h>
# include <sys/exec_elf.h>
#elif defined(__FreeBSD__)
+# include <sys/types.h>
# include <sys/elf32.h>
# include <sys/elf64.h>
#else