aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--ui-repolist.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 2c98668..0a0b6ca 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -6,6 +6,12 @@
* (see COPYING for full license text)
*/
+/* This is needed for strcasestr to be defined by <string.h> */
+#define _GNU_SOURCE 1
+#include <string.h>
+
+#include <time.h>
+
#include "cgit.h"
#include "html.h"
#include "ui-shared.h"