Mercurial > hg > toybox
view toynet.h @ 548:99cb6ad605ee
The linux header doesn't prototype unshare, and the glibc header introduced a regression in recent versions inexplicably crediting a linux feature to the FSF, so add the prototype ourselves.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 16 Mar 2012 06:20:48 -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>