From b6dd413903370bd9b4f50428a32276f1f8457937 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 19 Oct 2009 22:34:59 -0700 Subject: [PATCH] Protect definition of _GNU_SOURCE. I was getting a duplicate definition of this from somewhere, so getting compiler warnings without this protection. --- notmuch-private.h | 2 ++ 1 file changed, 2 insertions(+) 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 #include -- 2.26.2