summaryrefslogtreecommitdiff
path: root/notmuch-private.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-10-26 15:17:10 -0700
committerCarl Worth <cworth@cworth.org>2009-10-26 15:17:10 -0700
commit8e96a87fff4d34a154d1456e9ad47e7b0c322d54 (patch)
tree7b95e88500f85cfbb7f19c77ee73870fac51e1a2 /notmuch-private.h
parent94f01d9de914b609e1f02385092b82fd61ca73b5 (diff)
Remove all calls to g_strdup_printf
Replacing them with calls to talloc_asprintf if possible, otherwise to asprintf (with it's painful error-handling leaving the pointer undefined).
Diffstat (limited to 'notmuch-private.h')
-rw-r--r--notmuch-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-private.h b/notmuch-private.h
index 98ad4e2..ddc59b4 100644
--- a/notmuch-private.h
+++ b/notmuch-private.h
@@ -22,7 +22,7 @@
#define NOTMUCH_PRIVATE_H
#ifndef _GNU_SOURCE
-#define _GNU_SOURCE /* For getline */
+#define _GNU_SOURCE /* For getline and asprintf */
#endif
#include <stdio.h>