diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-19 22:34:59 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-19 22:34:59 -0700 |
commit | b6dd413903370bd9b4f50428a32276f1f8457937 (patch) | |
tree | 5a3b675d13811672ab3633a4c990de3171b08d89 /notmuch-private.h | |
parent | fedef062cea1c171c1624d8864cc13f0189a1adf (diff) |
Protect definition of _GNU_SOURCE.
I was getting a duplicate definition of this from somewhere, so
getting compiler warnings without this protection.
Diffstat (limited to 'notmuch-private.h')
-rw-r--r-- | notmuch-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch-private.h b/notmuch-private.h index 449aff71..a8ec8ebe 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> |