summaryrefslogtreecommitdiff
path: root/net/hping/files/patch-memunlockall
blob: 4a67466433f7cde34955b7adcd26515930440d65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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);