Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/elftoolchain/dist/libelf fix the native build



details:   https://anonhg.NetBSD.org/src/rev/6ce3afe8e041
branches:  trunk
changeset: 340765:6ce3afe8e041
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 29 22:14:14 2015 +0000

description:
fix the native build

diffstat:

 external/bsd/elftoolchain/dist/libelf/libelf.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 81a6c57c03ad -r 6ce3afe8e041 external/bsd/elftoolchain/dist/libelf/libelf.h
--- a/external/bsd/elftoolchain/dist/libelf/libelf.h    Tue Sep 29 20:43:16 2015 +0000
+++ b/external/bsd/elftoolchain/dist/libelf/libelf.h    Tue Sep 29 22:14:14 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index