view toynet.h @ 267:784bc9b0d6df

Make cp pass the rest of its test suite. Needs a bigger test suite (-lsHPLi and maybe -xviu), most of which still need to be implemented.
author Rob Landley <>
date Sun, 24 Feb 2008 03:48:06 -0600
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>