view toynet.h @ 701:7b316e3c0e11

Fix touch warnings (unused variables, failure to reserve space for null terminator).
author Rob Landley <rob@landley.net>
date Fri, 16 Nov 2012 15:44:45 -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>