From: Colin Patrick McCabe Date: Sun, 14 Jul 2013 04:09:12 +0000 (-0700) Subject: simple_time.c: fix compile for Solaris X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8307a2628ba2e19e2f4579abd858507035b4da4d;p=cmccabe-bin simple_time.c: fix compile for Solaris Signed-off-by: Colin McCabe --- diff --git a/simple_time.c b/simple_time.c index 9bede48..0055e1c 100644 --- a/simple_time.c +++ b/simple_time.c @@ -1,3 +1,5 @@ +#define _POSIX_PTHREAD_SEMANTICS // needed for Solaris for asctime_r + #include #include #include