]> err.no Git - pkg-config/commitdiff
2001-07-11 Havoc Pennington <hp@redhat.com>
authorArch Librarian <arch@canonical.com>
Thu, 14 Jul 2005 13:04:22 +0000 (13:04 +0000)
committerArch Librarian <arch@canonical.com>
Thu, 14 Jul 2005 13:04:22 +0000 (13:04 +0000)
Author: hp
Date: 2001-07-11 12:40:39 GMT
2001-07-11  Havoc Pennington  <hp@redhat.com>

* pkg.c: include sys/types.h to avoid warnings about dirent on
some systems

ChangeLog
pkg.c

index 0ad9d479cd6a6462ac7a8d04e5a55fbd5844e209..7d368d57663040f225316ac07ca7b1b815c86d7e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-11  Havoc Pennington  <hp@redhat.com>
+
+       * pkg.c: include sys/types.h to avoid warnings about dirent on
+       some systems.
+
 2001-07-11  Havoc Pennington  <hp@pobox.com>
 
        * parse.c (parse_cflags): fix failure to put space between cflags,
diff --git a/pkg.c b/pkg.c
index 57c692cdfd36634fd2a2785d8cd035a173b9c421..4689cefa1903c90d2fb9e277f2d323e4a2409958 100644 (file)
--- a/pkg.c
+++ b/pkg.c
@@ -13,6 +13,7 @@
 # endif
 #endif
 
+#include <sys/types.h>
 #include <dirent.h>
 #include <string.h>
 #include <errno.h>