diff options
author | Daniel Kahn Gillmor <[email protected]> | 2017-02-08 17:05:08 +0000 |
---|---|---|
committer | Daniel Kahn Gillmor <[email protected]> | 2017-02-08 17:05:08 +0000 |
commit | 8810314e377a9cb6612150a57cf99260ed0bb9f6 (patch) | |
tree | de961d12770944f0f38f6a9370f150bae5e88cfc | |
parent | gpg,common: Make sure that all fd given are valid. (diff) | |
download | gnupg-8810314e377a9cb6612150a57cf99260ed0bb9f6.tar.gz gnupg-8810314e377a9cb6612150a57cf99260ed0bb9f6.zip |
common: Avoid warning about implicit declaration of gnupg_fd_valid.
* common/logging.c: Add #include "sysutils.h".
--
Without this, we see:
logging.c:573:9: warning: implicit declaration of function \
‘gnupg_fd_valid’ [-Wimplicit-function-declaration]
if (! gnupg_fd_valid (fd))
^~~~~~~~~~~~~~
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | common/logging.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/logging.c b/common/logging.c index ac130535c..670affb12 100644 --- a/common/logging.c +++ b/common/logging.c @@ -61,6 +61,7 @@ #include "i18n.h" #include "common-defs.h" #include "logging.h" +#include "sysutils.h" #ifdef HAVE_W32_SYSTEM # define S_IRGRP S_IRUSR |