Rudiments
/home/dmuse/src/rudiments/include/rudiments/private/unixsocketutilincludes.h
00001 // Copyright (c) 2002 David Muse
00002 // See the COPYING file for more information.
00003 
00004 #include <rudiments/private/dll.h>
00005 #include <rudiments/private/inttypes.h>
00006 
00007 #include <sys/types.h>
00008 #ifdef RUDIMENTS_HAVE_SYS_PARAM_H
00009         #include <sys/param.h>
00010 #endif
00011 #ifdef RUDIMENTS_HAVE_SYS_UN_H
00012         #include <sys/un.h>
00013 #endif
00014 
00015 #ifndef RUDIMENTS_HAVE_SOCKADDR_UN
00016         struct sockaddr_un {
00017                 int16_t sun_family;
00018                 char    sun_path[512];
00019         };
00020 #endif