mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
notmuch-private.h: Move NOTMUCH_BEGIN_DECLS earlier
We actually need this before the include of xutil.h, but it was previously stuck randomly among various system includes. Instead, put it at the top, right after include the notmuch.h header that defines it.
This commit is contained in:
parent
a6b3f341dc
commit
0bbfa57014
1 changed files with 2 additions and 2 deletions
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
#include "notmuch.h"
|
#include "notmuch.h"
|
||||||
|
|
||||||
|
NOTMUCH_BEGIN_DECLS
|
||||||
|
|
||||||
#ifndef _GNU_SOURCE
|
#ifndef _GNU_SOURCE
|
||||||
#define _GNU_SOURCE /* For getline */
|
#define _GNU_SOURCE /* For getline */
|
||||||
#endif
|
#endif
|
||||||
|
@ -39,8 +41,6 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
NOTMUCH_BEGIN_DECLS
|
|
||||||
|
|
||||||
#include <talloc.h>
|
#include <talloc.h>
|
||||||
|
|
||||||
#include "xutil.h"
|
#include "xutil.h"
|
||||||
|
|
Loading…
Reference in a new issue