view toynet.h @ 294:3de1ea4d6b56

Fix command line option parsing so "echo -xen" actually prints "-xen". Add echo.test while I'm at it.
author Rob Landley <rob@landley.net>
date Sat, 17 May 2008 17:13:26 -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>