summaryrefslogtreecommitdiff
path: root/include/glob.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/glob.h')
-rw-r--r--include/glob.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/glob.h b/include/glob.h
new file mode 100644
index 0000000..d3ddcff
--- /dev/null
+++ b/include/glob.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * glob() compatibility
+ *
+ * Copyright (C) 2018 Laurent Pinchart
+ *
+ * Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
+ */
+#ifndef __UVC_GADGET_GLOB_H__
+#define __UVC_GADGET_GLOB_H__
+
+#include "config.h"
+
+#ifdef HAVE_GLOB
+#include_next <glob.h>
+#else
+#include "compat/glob.h"
+#endif
+
+#endif /* __UVC_GADGET_GLOB_H__ */