summaryrefslogtreecommitdiff
blob: 4c340711e0e82cd50a56725ad3e4ea302ec4bfd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
sunmenu.c:920:3: warning: implicit declaration of function ‘strptime’

--- a/GUI/xephem/sunmenu.c
+++ b/GUI/xephem/sunmenu.c
@@ -1,6 +1,7 @@
 /* code to manage the sun display 
  */
 
+#define _XOPEN_SOURCE /* See feature_test_macros(7) */
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>