]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
RHEL 4 build fix
authorBart Van Assche <bvanassche@acm.org>
Wed, 9 Nov 2011 17:31:54 +0000 (17:31 +0000)
committerBart Van Assche <bvanassche@acm.org>
Wed, 9 Nov 2011 17:31:54 +0000 (17:31 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12263

memcheck/tests/x86-linux/scalar.c

index 2bc1fa5b3fb5ae54a9eea07a9537eee3c331e33c..d4a89e538e7579743d80aa59e668a8800766b413 100644 (file)
@@ -5,7 +5,7 @@
 #include <unistd.h>
 #include <sched.h>
 #include <signal.h>
-
+#include <linux/mman.h> // MREMAP_FIXED
 
 // Here we are trying to trigger every syscall error (scalar errors and
 // memory errors) for every syscall.  We do this by passing a lot of bogus