]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Include fcntl.h to get O_CREAT on Fedora 13.
authorTom Hughes <tom@compton.nu>
Thu, 29 Apr 2010 09:36:35 +0000 (09:36 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 29 Apr 2010 09:36:35 +0000 (09:36 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11115

drd/tests/circular_buffer.c
drd/tests/pth_inconsistent_cond_wait.c

index 720279422b895579ec4a1d253632ec3d13c9057a..c5deb74f57dd2ae7e0230873869a16b72783b3cd 100644 (file)
@@ -12,6 +12,7 @@
 #include <time.h>
 #include <pthread.h>
 #include <semaphore.h>
+#include <fcntl.h>
 #include "../../config.h"
 
 
index c5769097ecafe7854d42737a39e2d3f5db7705a9..2a703442437e6b181f197c73be8f3473371e74e6 100644 (file)
@@ -13,6 +13,7 @@
 #include <string.h>    // memset()
 #include <sys/time.h>  // gettimeofday()
 #include <time.h>      // struct timespec
+#include <fcntl.h>     // O_CREAT
 #include <unistd.h>
 #include "../../config.h"