aboutsummaryrefslogtreecommitdiff
path: root/toynet.h
diff options
context:
space:
mode:
Diffstat (limited to 'toynet.h')
-rw-r--r--toynet.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/toynet.h b/toynet.h
index 4f87feb3..3cfb0159 100644
--- a/toynet.h
+++ b/toynet.h
@@ -2,9 +2,12 @@
// don't include network support, so we shouldn't include it unless we're
// going to build it.
-#include <sys/socket.h>
-#include <sys/un.h>
-#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
+#include <net/if.h>
+#include <netinet/in.h>
+#include <netinet/tcp.h>
#include <poll.h>
+#include <sys/socket.h>
+#include <sys/un.h>
+