summaryrefslogtreecommitdiff
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2013-05-28 21:38:52 +0300
committerDavid Bremner <bremner@debian.org>2013-05-29 20:00:52 -0300
commit8a0e85025af5854666f5a8a18236f4ed69924638 (patch)
tree2bc3ec44bc031e4a8d5dfb92b3aed78c9a58a24f /notmuch-client.h
parente7ade21d56b43dafc6dbd517a1b72fcf9d62b238 (diff)
cli: add global option --stderr=FILE
With this option all writes to stderr are redirected to the specified FILE (or to stdout on case FILE is '-'). This is immediately useful in emacs interface as some of its exec intefaces do not provide separation of stdout and stderr.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index 45749a6b..4a3c7ac9 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -54,6 +54,7 @@ typedef GMimeCipherContext notmuch_crypto_context_t;
#include <sys/stat.h>
#include <sys/time.h>
#include <unistd.h>
+#include <fcntl.h>
#include <dirent.h>
#include <errno.h>
#include <signal.h>