aboutsummaryrefslogtreecommitdiff
path: root/risu.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-04-25 15:43:08 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-04-25 16:03:08 +0100
commit983e063c3c55b373107f18633fc6bf862029796e (patch)
tree0ab41e7340fb38c94dbc90e09565c355a01a5e3e /risu.h
parent88080222b02d8f276b8afe8f21042d5297cadc74 (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.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/risu.h b/risu.h
index 0b26e4a..26ed834 100644
--- a/risu.h
+++ b/risu.h
@@ -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);