summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads/patches/patch-bq
blob: 0361396265cd00301fb7d3f92a563b2dd6ea06fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-bq,v 1.3 1999/12/28 05:08:11 wiz Exp $
--- 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>
 
 /*