Mercurial > hg > toybox
annotate toynet.h @ 675:fa858a67e231
Fix thinko for uname -m when i686 binary runs on x86_64 host.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 08 Oct 2012 21:24:19 -0500 |
parents | e864c5ed1d25 |
children | 4dcd5decb4fd |
rev | line source |
---|---|
190 | 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 | |
3 // going to build it. | |
4 | |
5 #include <sys/socket.h> | |
6 #include <netinet/in.h> | |
7 #include <arpa/inet.h> | |
8 #include <netdb.h> | |
9 #include <poll.h> |