summaryrefslogtreecommitdiff
path: root/src/scandir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scandir.c')
-rw-r--r--src/scandir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scandir.c b/src/scandir.c
index c08e48f0c..c3d5d63a0 100644
--- a/src/scandir.c
+++ b/src/scandir.c
@@ -27,6 +27,9 @@
# endif /* HAVE_SCANDIR */
#endif
+/* Avoid "ISO C forbids an empty translation unit" warning */
+typedef int dummy;
+
/*
* End of "$Id$".
*/