diff options
Diffstat (limited to 'toynet.h')
-rw-r--r-- | toynet.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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> + |