summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-05 12:35:54 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-05 12:35:54 +0200
commit2c6120755c44dc68605e33f6f84aa9896af55d28 (patch)
tree5db2234d144d0b2de95677854bdb74020493492f /rpmio
parent5085ae9923d5995e5f285dc54f45b38cf3d09698 (diff)
downloadlibrpm-tizen-2c6120755c44dc68605e33f6f84aa9896af55d28.tar.gz
librpm-tizen-2c6120755c44dc68605e33f6f84aa9896af55d28.tar.bz2
librpm-tizen-2c6120755c44dc68605e33f6f84aa9896af55d28.zip
Unconditionally include <sys/wait.h> where needed
- no point conditionalizing what we cant live without
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmfileutil.c1
-rw-r--r--rpmio/url.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/rpmio/rpmfileutil.c b/rpmio/rpmfileutil.c
index 92524436d..593447845 100644
--- a/rpmio/rpmfileutil.c
+++ b/rpmio/rpmfileutil.c
@@ -17,6 +17,7 @@
#include <sys/mman.h>
#endif
+#include <sys/wait.h>
#include <popt.h>
#include <rpm/rpmfileutil.h>
diff --git a/rpmio/url.c b/rpmio/url.c
index cd73e9a36..8ad1c3255 100644
--- a/rpmio/url.c
+++ b/rpmio/url.c
@@ -7,6 +7,7 @@
#include <assert.h>
#include <netinet/in.h>
#include <netdb.h>
+#include <sys/wait.h>
#include <rpm/rpmmacro.h>
#include <rpm/rpmlog.h>