mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
Protect definition of _GNU_SOURCE.
I was getting a duplicate definition of this from somewhere, so getting compiler warnings without this protection.
This commit is contained in:
parent
fedef062ce
commit
b6dd413903
1 changed files with 2 additions and 0 deletions
|
@ -23,7 +23,9 @@
|
|||
|
||||
#include "notmuch.h"
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE /* For getline */
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in a new issue