diff options
Diffstat (limited to 'sys/netinet/libdeslite/des_locl.h')
-rw-r--r-- | sys/netinet/libdeslite/des_locl.h | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/sys/netinet/libdeslite/des_locl.h b/sys/netinet/libdeslite/des_locl.h index acd1ea79313..ce0cabb927b 100644 --- a/sys/netinet/libdeslite/des_locl.h +++ b/sys/netinet/libdeslite/des_locl.h @@ -47,11 +47,11 @@ #ifndef HEADER_DES_LOCL_H #define HEADER_DES_LOCL_H -#include <stdio.h> -#include <stdlib.h> -#ifndef MSDOS -#include <unistd.h> -#endif + +#include <sys/cdefs.h> +#include <sys/types.h> +#include <sys/systm.h> + #include "des.h" /* the following is tweaked from a config script, that is why it is a @@ -60,31 +60,10 @@ #undef DES_USE_PTR #endif -#ifdef MSDOS /* Visual C++ 2.1 (Windows NT/95) */ -#include <stdlib.h> -#include <time.h> -#include <io.h> -#define RAND -#undef PROTO -#define PROTO -#endif - -#if defined(__STDC__) || defined(VMS) || defined(M_XENIX) || defined(MSDOS) -#include <string.h> -#endif - #ifndef RAND #define RAND #endif -#ifdef MSDOS -#define getpid() 2 -extern int errno; -#define RAND -#undef PROTO -#define PROTO -#endif - #if defined(NOCONST) #define const #endif |