planet.c: define _GNU_SOURCE to get strndup
authorJon Burgess <jburgess777@gmail.com>
Tue, 25 Sep 2007 21:23:34 +0000 (21:23 +0000)
committerJon Burgess <jburgess777@gmail.com>
Tue, 25 Sep 2007 21:23:34 +0000 (21:23 +0000)
planet.c

index ad2cc4a..778072f 100644 (file)
--- a/planet.c
+++ b/planet.c
@@ -1,3 +1,5 @@
+#define _GNU_SOURCE
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>