Mercurial > hg > toybox
comparison toynet.h @ 876:4dcd5decb4fd
Forgot to check in a header that moved from ifconfig to toynet.h.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 22 Apr 2013 01:56:26 -0500 |
parents | e864c5ed1d25 |
children | aca8323e2690 |
comparison
equal
deleted
inserted
replaced
875:2650f5f56bab | 876:4dcd5decb4fd |
---|---|
1 // Included after toys.h, for network stuff. Some build environments | 1 // Included after toys.h, for network stuff. Some build environments |
2 // don't include network support, so we shouldn't include it unless we're | 2 // don't include network support, so we shouldn't include it unless we're |
3 // going to build it. | 3 // going to build it. |
4 | 4 |
5 #include <sys/socket.h> | 5 #include <sys/socket.h> |
6 #include <sys/un.h> | |
6 #include <netinet/in.h> | 7 #include <netinet/in.h> |
7 #include <arpa/inet.h> | 8 #include <arpa/inet.h> |
8 #include <netdb.h> | 9 #include <netdb.h> |
9 #include <poll.h> | 10 #include <poll.h> |