diff options
author | Michael Taylor <mctaylor@mctaylor.com> | 2004-12-12 04:17:41 +0000 |
---|---|---|
committer | Michael Taylor <mctaylor@mctaylor.com> | 2004-12-12 04:17:41 +0000 |
commit | 0e42548ec930597bc842d7099baebe122f9255aa (patch) | |
tree | 8f8d3f360b256ebde8f287bef8d9aaf44d432c78 | |
parent | 875f370a634411b94ad72f9f735d2137d5cbc45b (diff) |
added netinet/in.h for htons prototype
-rw-r--r-- | hdlcutil/hdrvcomm.c | 2 | ||||
-rw-r--r-- | kiss/net2kiss.c | 1 | ||||
-rw-r--r-- | yamdrv/yamcfg.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/hdlcutil/hdrvcomm.c b/hdlcutil/hdrvcomm.c index c096b2e..628ec85 100644 --- a/hdlcutil/hdrvcomm.c +++ b/hdlcutil/hdrvcomm.c @@ -40,7 +40,7 @@ #include <sys/ipc.h> #include <sys/msg.h> #include <endian.h> -#include <endian.h> +#include <netinet/in.h> #include <fcntl.h> #include <unistd.h> #include <stdlib.h> diff --git a/kiss/net2kiss.c b/kiss/net2kiss.c index c62a6f9..d44dee2 100644 --- a/kiss/net2kiss.c +++ b/kiss/net2kiss.c @@ -39,6 +39,7 @@ #include <sys/ioctl.h> #include <unistd.h> #include <endian.h> +#include <netinet/in.h> #include <sys/stat.h> #include <fcntl.h> #include <signal.h> diff --git a/yamdrv/yamcfg.c b/yamdrv/yamcfg.c index 64ec949..29e863e 100644 --- a/yamdrv/yamcfg.c +++ b/yamdrv/yamcfg.c @@ -53,6 +53,7 @@ #include <linux/if_ether.h> #endif #include <endian.h> +#include <netinet/in.h> #include "yam.h" |