summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Taylor <mctaylor@mctaylor.com>2004-12-12 04:07:42 +0000
committerMichael Taylor <mctaylor@mctaylor.com>2004-12-12 04:07:42 +0000
commitbe25b2f873108c368097d873a2c178651d581f98 (patch)
tree48f689ee176773ebd3dbc536a28dd1f7130d5dbc
parent3ae75e6fb051d7c122cd9232c22c39e036a30597 (diff)
replace asm/byteorder.h with public header endian.h
-rw-r--r--hdlcutil/hdrvcomm.c2
-rw-r--r--kiss/net2kiss.c3
-rw-r--r--yamdrv/yamcfg.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/hdlcutil/hdrvcomm.c b/hdlcutil/hdrvcomm.c
index 263ebd8..25bd883 100644
--- a/hdlcutil/hdrvcomm.c
+++ b/hdlcutil/hdrvcomm.c
@@ -37,10 +37,10 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/types.h>
-/*#include <sys/socket.h>*/
#include <sys/ipc.h>
#include <sys/msg.h>
#include <asm/byteorder.h>
+#include <endian.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
diff --git a/kiss/net2kiss.c b/kiss/net2kiss.c
index 72e10e0..c62a6f9 100644
--- a/kiss/net2kiss.c
+++ b/kiss/net2kiss.c
@@ -30,6 +30,7 @@
/*****************************************************************************/
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/time.h>
#include <stdio.h>
@@ -37,7 +38,7 @@
#include <unistd.h>
#include <sys/ioctl.h>
#include <unistd.h>
-#include <asm/byteorder.h>
+#include <endian.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>
diff --git a/yamdrv/yamcfg.c b/yamdrv/yamcfg.c
index 0bdfa40..64ec949 100644
--- a/yamdrv/yamcfg.c
+++ b/yamdrv/yamcfg.c
@@ -52,7 +52,7 @@
#else
#include <linux/if_ether.h>
#endif
-#include <asm/byteorder.h>
+#include <endian.h>
#include "yam.h"