summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat/files/nbcompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/libnbcompat/files/nbcompat.h')
-rw-r--r--pkgtools/libnbcompat/files/nbcompat.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat.h b/pkgtools/libnbcompat/files/nbcompat.h
index 14910c29aff..69b855f1004 100644
--- a/pkgtools/libnbcompat/files/nbcompat.h
+++ b/pkgtools/libnbcompat/files/nbcompat.h
@@ -1,4 +1,4 @@
-/* $NetBSD: nbcompat.h,v 1.28 2003/12/08 14:52:02 grant Exp $ */
+/* $NetBSD: nbcompat.h,v 1.29 2003/12/10 07:21:20 grant Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -225,17 +225,11 @@ struct { \
# include <nbcompat/err.h>
#endif
-#if HAVE_NBCOMPAT_GLOB
-# if HAVE_GLOB_H
-# undef HAVE_GLOB_H
-# endif
-#endif
-
+/* always use our glob.h */
#if HAVE_GLOB_H
-# include <glob.h>
-#else
-# include <nbcompat/glob.h>
+# undef HAVE_GLOB_H
#endif
+#include <nbcompat/glob.h>
#if HAVE_SYS_MKDEV_H
# include <sys/mkdev.h>