packages: add lmbench
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30383 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
11
utils/lmbench/patches/001-fix_socklen_t_define.patch
Normal file
11
utils/lmbench/patches/001-fix_socklen_t_define.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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
|
||||
|
Reference in New Issue
Block a user