common: Avoid warning about implicit declaration of gnupg_fd_valid.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 8 Feb 2017 17:05:08 +0000 (12:05 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 8 Feb 2017 17:05:08 +0000 (12:05 -0500)
commit8810314e377a9cb6612150a57cf99260ed0bb9f6
treede961d12770944f0f38f6a9370f150bae5e88cfc
parent6823ed46584e753de3aba48a00ab738ab009a860
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 <dkg@fifthhorseman.net>
common/logging.c