aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-02 12:45:38 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-02 12:45:38 +0100
commitbb1dcc9aab5f517d963b601289aa75508d6e088e (patch)
tree682957f7a02ac69cbe9c1adb5f22092bfd379de2 /include/platform.h
parent5b9b1365a086056e992e7868db8e49989fedcbaf (diff)
downloadbusybox-bb1dcc9aab5f517d963b601289aa75508d6e088e.tar.gz
more thorough fix for systems with strange socklen_t
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/platform.h b/include/platform.h
index c34a46e79..b58b14936 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -210,18 +210,6 @@
} while (0)
#endif
-/* ---- Networking ------------------------------------------ */
-
-#ifndef __APPLE__
-# include <arpa/inet.h>
-# if !defined(__socklen_t_defined) && !defined(_SOCKLEN_T_DECLARED)
-# define socklen_t bb_socklen_t
-typedef int socklen_t;
-# endif
-#else
-# include <netinet/in.h>
-#endif
-
/* ---- Compiler dependent settings ------------------------- */
#if (defined __digital__ && defined __unix__) \