summaryrefslogtreecommitdiff
path: root/sftp-client.h
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-client.h')
-rw-r--r--sftp-client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sftp-client.h b/sftp-client.h
index f814b07d..14a3b818 100644
--- a/sftp-client.h
+++ b/sftp-client.h
@@ -21,6 +21,12 @@
#ifndef _SFTP_CLIENT_H
#define _SFTP_CLIENT_H
+#ifdef USE_SYSTEM_GLOB
+# include <glob.h>
+#else
+# include "openbsd-compat/glob.h"
+#endif
+
typedef struct SFTP_DIRENT SFTP_DIRENT;
struct SFTP_DIRENT {