pkgsrc/devel/mit-pthreads/patches/patch-bq
1999-12-28 05:08:11 +00:00

17 lines
414 B
Text

$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>
/*