summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-07-14 13:04:22 +0000
committerArch Librarian <arch@canonical.com>2005-07-14 13:04:22 +0000
commit5f14bf25e56fda6e38a7dfc153378543c625257f (patch)
tree8c4901d82a1c15e21023d818d2e87c27c5b78968
parent41f8b289dbe172d533289bbffecbee1b9e1937a9 (diff)
2001-07-11 Havoc Pennington <hp@redhat.com>
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
-rw-r--r--ChangeLog5
-rw-r--r--pkg.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ad9d47..7d368d5 100644
--- 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 57c692c..4689cef 100644
--- 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>