diff options
Diffstat (limited to 'audio/rawrec/files/patch-play.c')
-rw-r--r-- | audio/rawrec/files/patch-play.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/rawrec/files/patch-play.c b/audio/rawrec/files/patch-play.c new file mode 100644 index 000000000000..fd94beeeaa85 --- /dev/null +++ b/audio/rawrec/files/patch-play.c @@ -0,0 +1,11 @@ +--- play.c.orig Tue Nov 5 22:11:11 2002 ++++ play.c Tue Nov 5 22:11:38 2002 +@@ -400,7 +400,7 @@ + } + + /* Entering critical section. Lock down our memory, if possible. */ +-#ifdef _POSIX_MEMLOCK ++#if _POSIX_MEMLOCK == 1 + if ( mlockall(MCL_CURRENT) == -1 ) { + fprintf(stderr, "%s: mlockall(MCL_CURRENT) failed: ", progname); + perror(""); |