Mercurial > hg > toybox
view toynet.h @ 662:5cb41d56f9d3
Posix compliance: wc shouldn't have trailing spaces (breaks aboriginal's mkinitr
amfs script), when to print filenames was wrong, and it should have a "total" line when counting multiple arguments.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 06 Sep 2012 03:10:18 -0500 |
parents | e864c5ed1d25 |
children | 4dcd5decb4fd |
line wrap: on
line source
// 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>