diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-02-21 08:42:36 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-02-21 08:42:36 +0000 |
commit | 7a30cc3d08ae261fca9ad829b5608555193842c2 (patch) | |
tree | cf5d299498165c61556bfbbbd67518d5858b3b87 /sys/netinet/libdeslite/des_locl.h | |
parent | ce6c230a089eae97b432b90cd9dc3a960a5bc0c7 (diff) |
-nostdinc and big endian cleanup
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 |