TSP: The Transport Sample Protocol



Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

tsp_sys_headers.h

Go to the documentation of this file.
00001 
00037 #ifndef __TSP_SYS_HEADERS_H
00038 #define __TSP_SYS_HEADERS_H 1
00039 
00040 #ifdef __OpenBSD__
00041 #include <rpc/rpc.h>
00042 /* OpenBSD's rpcgen has timeout support and declares _rpcsvcdirty as extern */
00043 int _rpcsvcdirty;
00044 #endif /* __OpenBSD__ */
00045 
00046 #ifndef _POSIX_SOURCE
00047 #define _POSIX_SOURCE
00048 #define _POSIX_C_SOURCE 199506L
00049 #endif
00050 
00051 #include <unistd.h>
00052 #include <assert.h>
00053 #include <stdio.h>
00054 #include <stdlib.h>
00055 #include <string.h>
00056 #include <strings.h>
00057 #include <errno.h>
00058 #include <netdb.h>
00059 /*#include "fortify.h"*/
00060 
00061 
00062 /* Used for gprof to work for linux multi-thread programs.
00063 Do not use this with others targets */
00064 #ifdef MT_GPROF
00065 #include "tsp_mtgprof.h"
00066 #define pthread_create gprof_pthread_create
00067 #endif
00068 
00069 /* CHECKME: after Dec OSF1  V5.1, the system  pthread.h is POSIX enough to avoid localinclude */
00070 /*#include "dec_pthread.h"*/
00071 #include <pthread.h>
00072 #include <sys/time.h>
00073 #include <sys/param.h>
00074 
00075 #endif
Framework Home Page.

Beware !! TSP wave is coming...