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-w32-bb1dcc9aab5f517d963b601289aa75508d6e088e.tar.gz
busybox-w32-bb1dcc9aab5f517d963b601289aa75508d6e088e.tar.bz2
busybox-w32-bb1dcc9aab5f517d963b601289aa75508d6e088e.zip
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 @@
210} while (0) 210} while (0)
211#endif 211#endif
212 212
213/* ---- Networking ------------------------------------------ */
214
215#ifndef __APPLE__
216# include <arpa/inet.h>
217# if !defined(__socklen_t_defined) && !defined(_SOCKLEN_T_DECLARED)
218# define socklen_t bb_socklen_t
219typedef int socklen_t;
220# endif
221#else
222# include <netinet/in.h>
223#endif
224
225/* ---- Compiler dependent settings ------------------------- */ 213/* ---- Compiler dependent settings ------------------------- */
226 214
227#if (defined __digital__ && defined __unix__) \ 215#if (defined __digital__ && defined __unix__) \