changeset 207:bff2b940ea39

- netbsd include fix (stddef.h needed before elf.h)
author Tassilo Philipp
date Mon, 27 Mar 2017 01:00:30 +0200
parents 7b87876d0d5c
children f8d9b31975f9
files dynload/dynload_syms_elf.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dynload/dynload_syms_elf.c	Wed Mar 22 12:17:43 2017 +0100
+++ b/dynload/dynload_syms_elf.c	Mon Mar 27 01:00:30 2017 +0200
@@ -38,6 +38,9 @@
 #if defined(OS_OpenBSD)
 #  include <stdint.h>
 #  include <elf_abi.h>
+#elif defined(OS_NetBSD)
+#  include <stddef.h>
+#  include <elf.h>
 #elif defined(OS_SunOS)
 #  include <libelf.h>
 #elif defined(OS_BeOS)