summaryrefslogtreecommitdiff
path: root/mactelnetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mactelnetd.c')
-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;