diff toynet.h @ 190:e864c5ed1d25

Netcat needs this to build.
author Rob Landley <rob@landley.net>
date Mon, 03 Dec 2007 18:57:57 -0600
parents
children 4dcd5decb4fd
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/toynet.h	Mon Dec 03 18:57:57 2007 -0600
@@ -0,0 +1,9 @@
+// Included after toys.h, for network stuff.  Some build environments
+// don't include network support, so we shouldn't include it unless we're
+// going to build it.
+
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
+#include <poll.h>