aboutsummaryrefslogtreecommitdiff
path: root/toynet.h
blob: 3cfb0159e0be54d96c674fa58ae60ed18ebd66b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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 <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>