From: Michal Sojka Date: Tue, 23 Jul 2013 17:39:51 +0000 (+0200) Subject: Fix compiler warnings X-Git-Url: https://rtime.felk.cvut.cz/gitweb/ert_linux.git/commitdiff_plain/55e03b6f670b4d7c321e4b5880a50f9a12dc22dc Fix compiler warnings --- diff --git a/ert_linux/ert_linux_multitasking_main.tlc b/ert_linux/ert_linux_multitasking_main.tlc index c0bb2ad..a934620 100644 --- a/ert_linux/ert_linux_multitasking_main.tlc +++ b/ert_linux/ert_linux_multitasking_main.tlc @@ -27,7 +27,8 @@ %function generateDeclarations() Output /* Multirate - Multitasking case main file */ - #define _POSIX_C_SOURCE 199309L /* For clock_gettime() */ + #define _BSD_SOURCE /* For usleep() */ + #define _POSIX_C_SOURCE 200112L /* For clock_gettime() & clock_nanosleep() */ #include /* This ert_main.c example uses printf/fflush */ #include /* Thread library header file */ #include /* OS scheduler header file */