diff options
Diffstat (limited to 'net/hping/files/patch-memunlockall')
-rw-r--r-- | net/hping/files/patch-memunlockall | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/hping/files/patch-memunlockall b/net/hping/files/patch-memunlockall new file mode 100644 index 000000000000..4a67466433f7 --- /dev/null +++ b/net/hping/files/patch-memunlockall @@ -0,0 +1,11 @@ +--- memunlockall.c.orig Sun Nov 17 18:04:44 2002 ++++ memunlockall.c Sun Nov 17 18:04:43 2002 +@@ -13,7 +13,7 @@ + + int memunlockall(void) + { +-#ifdef _POSIX_MEMLOCK ++#if _POSIX_MEMLOCK == 1 + return ( munlockall() ); + #endif + return(-1); |