blob: a409897114b412832011be90f3b17bfb9c3cdc85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ah,v 1.3 1999/10/29 13:27:32 fvdl Exp $
--- src/unexelf.c.orig Sun Aug 15 03:29:56 1999
+++ src/unexelf.c Fri Oct 29 07:10:13 1999
@@ -426,3 +426,3 @@
#include <fcntl.h>
-#if !defined (__NetBSD__) && !defined (__OpenBSD__)
+#if !defined (__OpenBSD__) && (!defined(__NetBSD__) || (__NetBSD_Version__ >= 104130000))
#include <elf.h>
@@ -473,3 +473,6 @@
-#ifdef __NetBSD__
+/*
+ * NetBSD has <elf.h> since 1.4M
+ */
+#if defined(__NetBSD__) && (__NetBSD_Version__ < 104130000)
/*
|