summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-12-20 23:54:20 +0100
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-12-20 23:54:20 +0100
commitfadddf392dd27b0fffd8b66c38f240bf0f8afd86 (patch)
tree317f1aa36a360c33a277a1e971716ab524e9a8f1
parentbc9266f2ae0ebf80deb2817dded7a26d8c65686b (diff)
downloadMAC-Telnet-fadddf392dd27b0fffd8b66c38f240bf0f8afd86.tar.gz
MAC-Telnet-fadddf392dd27b0fffd8b66c38f240bf0f8afd86.zip
Fix silly warning about ether_ntoa argument
-rw-r--r--mactelnetd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mactelnetd.c b/mactelnetd.c
index afb89fb..1cb43c9 100644
--- a/mactelnetd.c
+++ b/mactelnetd.c
@@ -24,6 +24,7 @@
#include <fcntl.h>
#include <signal.h>
#include <arpa/inet.h>
+#include <net/ethernet.h>
#include <netinet/in.h>
#include <netinet/ether.h>
#include <sys/time.h>
@@ -34,6 +35,7 @@
#include <linux/if_ether.h>
#include <sys/ioctl.h>
#include <pwd.h>
+#include <utmp.h>
#include "md5.h"
#include "protocol.h"
#include "udp.h"
@@ -41,7 +43,6 @@
#include "devices.h"
#include "users.h"
#include "config.h"
-#include <utmp.h>
int sockfd;
int insockfd;