simple_time.c: fix compile for Solaris
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Sun, 14 Jul 2013 04:09:12 +0000 (21:09 -0700)
committerColin Patrick Mccabe <cmccabe@alumni.cmu.edu>
Sun, 14 Jul 2013 04:09:39 +0000 (21:09 -0700)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

simple_time.c

index 9bede48..0055e1c 100644 (file)
@@ -1,3 +1,5 @@
+#define _POSIX_PTHREAD_SEMANTICS // needed for Solaris for asctime_r
+
 #include <stdio.h>
 #include <string.h>
 #include <time.h>