view toynet.h @ 989:8ff8b1befcdf

I have implemented FDISK command. This supports '-l' option for listing and other options [-bCHS] for giving values like block size, Cylinders, Heads,...
author Ashwini Sharma <ak.ashwini@gmail.com>
date Mon, 05 Aug 2013 13:16:03 -0500
parents aca8323e2690
children
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 <arpa/inet.h>
#include <netdb.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <poll.h>
#include <sys/socket.h>
#include <sys/un.h>