summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-11-01 18:24:29 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-11-01 18:27:37 +1100
commit0e3c5bc50907d2058407641b5a3581b7eda91b7e (patch)
treec7dda5c4d05debff27635a088bd6193c8d67f25a /scp.c
parentb56dbfd9d967e5b6ce7be9f81f206112e19e1030 (diff)
Hook up fnmatch for platforms that don't have it.
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scp.c b/scp.c
index 0348d067..762286c7 100644
--- a/scp.c
+++ b/scp.c
@@ -94,7 +94,9 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#ifdef HAVE_FNMATCH_H
#include <fnmatch.h>
+#endif
#include <limits.h>
#include <locale.h>
#include <pwd.h>