]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
FreeBSD: Fix compile of rbtree.h
authorRoy Marples <roy@marples.name>
Sun, 3 Mar 2019 23:45:16 +0000 (23:45 +0000)
committerRoy Marples <roy@marples.name>
Sun, 3 Mar 2019 23:45:16 +0000 (23:45 +0000)
compat/rbtree.h

index 5951e6d08928facb3994aad71018da5e9f1cc779..c570ed4abd693c46958f2687bcfbf3c9a4622e69 100644 (file)
 #include <inttypes.h>
 #endif
 #include "queue.h"
+#if !defined(__linux__) && !defined(__QNX__) && !defined(__sun)
+#include <sys/endian.h>
+#else
 #include "endian.h"
+#endif
 
 __BEGIN_DECLS