diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-04-25 15:43:08 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-04-25 16:03:08 +0100 |
commit | 983e063c3c55b373107f18633fc6bf862029796e (patch) | |
tree | 0ab41e7340fb38c94dbc90e09565c355a01a5e3e /risu.h | |
parent | 88080222b02d8f276b8afe8f21042d5297cadc74 (diff) |
Remove unnecessary config.h
All Linux systems should have the socklen_t and uintptr_t
types -- these are POSIX mandated and longstanding. There is
no need to autodetect these at compile time, so we can remove
all the machinery for generating config.h.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'risu.h')
-rw-r--r-- | risu.h | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -13,16 +13,7 @@ #define RISU_H #include <inttypes.h> - -#include "config.h" - -#ifndef HAVE_SOCKLEN_T -#define socklen_t int -#endif /* HAVE_SOCKLEN_T */ - -#ifndef HAVE_UINTPTR_T -#define uintptr_t size_t -#endif /* HAVE_UINTPTR_T */ +#include <stdint.h> /* Socket related routines */ int master_connect(int port); |