summaryrefslogtreecommitdiff
path: root/notmuch-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-private.h')
-rw-r--r--notmuch-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch-private.h b/notmuch-private.h
index 449aff7..a8ec8eb 100644
--- a/notmuch-private.h
+++ b/notmuch-private.h
@@ -23,7 +23,9 @@
#include "notmuch.h"
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* For getline */
+#endif
#include <stdio.h>
#include <stdlib.h>