diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-11-01 18:24:29 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-11-01 18:27:37 +1100 |
commit | 0e3c5bc50907d2058407641b5a3581b7eda91b7e (patch) | |
tree | c7dda5c4d05debff27635a088bd6193c8d67f25a /scp.c | |
parent | b56dbfd9d967e5b6ce7be9f81f206112e19e1030 (diff) |
Hook up fnmatch for platforms that don't have it.
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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> |