summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-13 23:00:38 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-13 23:00:38 +1100
commit096630d06c75f762efeb778f8b43def6f85976c0 (patch)
treed64d51dc7eb4b5d109142b00e8b80e064fa5b7cf
parent9c3ba07f60434e68657630fec0d7ab0dd7f984a3 (diff)
- (dtucker) [sftp-common.c] Wrap include of util.h in an ifdef.
-rw-r--r--ChangeLog1
-rw-r--r--sftp-common.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 00cb316b2..18ce0aa38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -30,6 +30,7 @@
30 [sftp.c] 30 [sftp.c]
31 don't append a space after inserting a completion of a directory (i.e. 31 don't append a space after inserting a completion of a directory (i.e.
32 a path ending in '/') for a slightly better user experience; ok dtucker@ 32 a path ending in '/') for a slightly better user experience; ok dtucker@
33 - (dtucker) [sftp-common.c] Wrap include of util.h in an ifdef.
33 34
3420100112 3520100112
35 - (dtucker) OpenBSD CVS Sync 36 - (dtucker) OpenBSD CVS Sync
diff --git a/sftp-common.c b/sftp-common.c
index 7393fc6a9..96eb4f79a 100644
--- a/sftp-common.c
+++ b/sftp-common.c
@@ -36,7 +36,9 @@
36#include <string.h> 36#include <string.h>
37#include <time.h> 37#include <time.h>
38#include <stdarg.h> 38#include <stdarg.h>
39#ifdef HAVE_UTIL_H
39#include <util.h> 40#include <util.h>
41#endif
40 42
41#include "xmalloc.h" 43#include "xmalloc.h"
42#include "buffer.h" 44#include "buffer.h"