summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2009-07-28 22:58:09 +0800
committerChih-Wei Huang <cwhuang@linux.org.tw>2009-08-31 15:42:09 +0800
commita90528ad3420c571987f2124955646dae88007b6 (patch)
tree95809020fb569f2f6ca32886a359552dfeb65fec
parentcc05d1271680d6a7804bc89d3b1fe14c40b32396 (diff)
downloadbionic-a90528ad3420c571987f2124955646dae88007b6.zip
bionic-a90528ad3420c571987f2124955646dae88007b6.tar.gz
bionic-a90528ad3420c571987f2124955646dae88007b6.tar.bz2
Include <endian.h> instead of <sys/endian.h>,
since the later doesn't define byte order.
-rw-r--r--libc/netbsd/net/getservent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/netbsd/net/getservent.c b/libc/netbsd/net/getservent.c
index 65fbd7e..9f6ec32 100644
--- a/libc/netbsd/net/getservent.c
+++ b/libc/netbsd/net/getservent.c
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
#include <sys/types.h>
-#include <sys/endian.h>
+#include <endian.h>
#include <netdb.h>
#include "servent.h"
#include "services.h"