|
From: <sv...@va...> - 2010-04-29 09:36:44
|
Author: tom Date: 2010-04-29 10:36:35 +0100 (Thu, 29 Apr 2010) New Revision: 11115 Log: Include fcntl.h to get O_CREAT on Fedora 13. Modified: trunk/drd/tests/circular_buffer.c trunk/drd/tests/pth_inconsistent_cond_wait.c Modified: trunk/drd/tests/circular_buffer.c =================================================================== --- trunk/drd/tests/circular_buffer.c 2010-04-29 09:22:25 UTC (rev 11114) +++ trunk/drd/tests/circular_buffer.c 2010-04-29 09:36:35 UTC (rev 11115) @@ -12,6 +12,7 @@ #include <time.h> #include <pthread.h> #include <semaphore.h> +#include <fcntl.h> #include "../../config.h" Modified: trunk/drd/tests/pth_inconsistent_cond_wait.c =================================================================== --- trunk/drd/tests/pth_inconsistent_cond_wait.c 2010-04-29 09:22:25 UTC (rev 11114) +++ trunk/drd/tests/pth_inconsistent_cond_wait.c 2010-04-29 09:36:35 UTC (rev 11115) @@ -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" |