aboutsummaryrefslogtreecommitdiffhomepage
path: root/compat/have_d_type.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/have_d_type.c')
-rw-r--r--compat/have_d_type.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/compat/have_d_type.c b/compat/have_d_type.c
new file mode 100644
index 00000000..9ca6c6e0
--- /dev/null
+++ b/compat/have_d_type.c
@@ -0,0 +1,10 @@
+#include <dirent.h>
+
+int main()
+{
+ struct dirent ent;
+
+ (void) ent.d_type;
+
+ return 0;
+}