
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30383 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
256 B
Diff
12 lines
256 B
Diff
--- a/src/bench.h
|
|
+++ b/src/bench.h
|
|
@@ -77,7 +77,7 @@ typedef long long int64;
|
|
#endif /* HAVE_int64_t */
|
|
#endif /* HAVE_int64 */
|
|
|
|
-#ifndef HAVE_socklen_t
|
|
+#if (!defined(HAVE_socklen_t) && !defined(__socklen_t_defined))
|
|
typedef int socklen_t;
|
|
#endif
|
|
|