summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-08-13 11:46:56 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-08-13 11:46:56 +0300
commit0466fd7f89d17c0a8190bd9d3d52bc4540c9f47d (patch)
treeca364ee9e6ea77c5c041e7211a06743b48c97f4e /rpmio
parentdb5ac1e44a7c6744abde6b92d2e1c17bd238739a (diff)
downloadlibrpm-tizen-0466fd7f89d17c0a8190bd9d3d52bc4540c9f47d.tar.gz
librpm-tizen-0466fd7f89d17c0a8190bd9d3d52bc4540c9f47d.tar.bz2
librpm-tizen-0466fd7f89d17c0a8190bd9d3d52bc4540c9f47d.zip
Add missing <pthread.h> include in rpmsq.h (ticket #87)
- patch from Michal Čihař
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmsq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmio/rpmsq.h b/rpmio/rpmsq.h
index f59e2004b..0f8185639 100644
--- a/rpmio/rpmsq.h
+++ b/rpmio/rpmsq.h
@@ -8,6 +8,9 @@
#include <rpm/rpmsw.h>
#include <signal.h>
+#if defined(_RPMSQ_INTERNAL)
+#include <pthread.h>
+#endif
#ifdef __cplusplus
extern "C" {