blob: 2727469d13fb951ac463401a7d9df6a74ea462bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ae,v 1.2 2008/12/25 13:18:00 hasso Exp $
--- include/local.h.orig 2008-10-29 08:42:10.000000000 -0400
+++ include/local.h
@@ -28,7 +28,11 @@
#include <string.h>
#include <fcntl.h>
#include <assert.h>
+#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <sys/endian.h>
+#else
#include <endian.h>
+#endif
#include <stdarg.h>
#include <sys/poll.h>
#include <errno.h>
|