diff options
author | Tomi Ollila <tomi.ollila@iki.fi> | 2013-05-28 21:38:52 +0300 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-05-29 20:00:52 -0300 |
commit | 8a0e85025af5854666f5a8a18236f4ed69924638 (patch) | |
tree | 2bc3ec44bc031e4a8d5dfb92b3aed78c9a58a24f /notmuch-client.h | |
parent | e7ade21d56b43dafc6dbd517a1b72fcf9d62b238 (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.h | 1 |
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> |