about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-01 11:57:19 -0500
committerRich Felker <dalias@aerifal.cx>2011-03-01 11:57:19 -0500
commit07e9d63b8f0614f582f0f453437eaafe92441435 (patch)
treee953884b241400f1bf4c6c20bcf29221ffcf334a
parenteda8e9da763df3fd25fc6c78602d7c79296eae6b (diff)
downloadmusl-07e9d63b8f0614f582f0f453437eaafe92441435.tar.gz
musl-07e9d63b8f0614f582f0f453437eaafe92441435.tar.xz
musl-07e9d63b8f0614f582f0f453437eaafe92441435.zip
depends on settimeofday which needs _GNU_SOURCE feature test
-rw-r--r--src/linux/stime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linux/stime.c b/src/linux/stime.c
index ec3ba821..6a7e9e81 100644
--- a/src/linux/stime.c
+++ b/src/linux/stime.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <sys/time.h>
 
 int stime(time_t *t)