summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiedb/osqlitedriver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie2/opiedb/osqlitedriver.h b/libopie2/opiedb/osqlitedriver.h
index adec331..d5ab224 100644
--- a/libopie2/opiedb/osqlitedriver.h
+++ b/libopie2/opiedb/osqlitedriver.h
@@ -4,2 +4,5 @@
#include <sqlite.h>
+#if defined (__GNUC__) && (__GNUC__ < 3)
+#include <sys/types.h>
+#endif
#include <regex.h>