diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-14 16:58:34 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-14 16:58:34 +0000 |
commit | 669c555874c7229cd95a494e36d826770460e8d7 (patch) | |
tree | ef2814a6b20fb765c5eff04c847b0a211aab1983 /lib/setup.h | |
parent | 1cfb73a129541c1d2357c5d0482861d3fa47ea2f (diff) |
Removed inclusion of remaining system header files from configuration files.
These are included from lib/setup.h or specific source code file.
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h index ba3ddce0c..e174e18e4 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -173,6 +173,15 @@ # include <extra/strdup.h> #endif +#ifdef TPF +# include <strings.h> /* for bzero, strcasecmp, and strncasecmp */ +# include <string.h> /* for strcpy and strlen */ +# include <stdlib.h> /* for rand and srand */ +# include <sys/socket.h> /* for select and ioctl*/ +# include <netdb.h> /* for in_addr_t definition */ +# include <tpf/sysapi.h> /* for tpf_process_signals */ +#endif + #include <stdio.h> #ifdef HAVE_ASSERT_H #include <assert.h> |