summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads/patches/patch-bq
blob: c298353627b5da463bc20d4de139207bfee65a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- include/arpa/nameser.h.orig	Tue May 30 07:33:39 1995
+++ include/arpa/nameser.h	Fri Nov  5 09:44:44 1999
@@ -56,8 +56,12 @@
 #ifndef _NAMESER_H_
 #define	_NAMESER_H_
 
-#include <endian.h>				
 #include <sys/types.h>
+#if __NetBSD_Version__ > 104010000
+#include <sys/endian.h>
+#else
+#include <machine/endian.h>
+#endif
 #include <pthread/types.h>
 
 /*