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 0348d0673..762286c73 100644
--- a/scp.c
+++ b/scp.c
@@ -94,7 +94,9 @@
94#include <dirent.h> 94#include <dirent.h>
95#include <errno.h> 95#include <errno.h>
96#include <fcntl.h> 96#include <fcntl.h>
97#ifdef HAVE_FNMATCH_H
97#include <fnmatch.h> 98#include <fnmatch.h>
99#endif
98#include <limits.h> 100#include <limits.h>
99#include <locale.h> 101#include <locale.h>
100#include <pwd.h> 102#include <pwd.h>