Imported Upstream version 1.8.7
[debian/sudo] / compat / glob.c
index cf9a4e2bf66efaa427d84e528e2d92a33167c755..c24f77a97af366cc66adb245770c0cb01ebeba0c 100644 (file)
@@ -52,7 +52,9 @@
 
 #include <config.h>
 
-#include <sys/param.h>
+#ifndef HAVE_GLOB
+
+#include <sys/types.h>
 #include <sys/stat.h>
 
 #include <stdio.h>
@@ -898,4 +900,5 @@ qprintf(const char *str, Char *s)
                (void)printf("%c", ismeta(*p) ? '_' : ' ');
        (void)printf("\n");
 }
-#endif
+#endif /* DEBUG */
+#endif /* HAVE_GLOB */