summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-05-09 18:28:52 (UTC)
committer mickeyl <mickeyl>2004-05-09 18:28:52 (UTC)
commitd43222da148755b44c74b176cde4dec5c56e1a79 (patch) (side-by-side diff)
treeb4fd6b8369deae40c78fd7f5ba12a13636cff831
parent81bc0cecdeb7c49f4f2950c1e5649bad05593d0c (diff)
downloadopie-d43222da148755b44c74b176cde4dec5c56e1a79.zip
opie-d43222da148755b44c74b176cde4dec5c56e1a79.tar.gz
opie-d43222da148755b44c74b176cde4dec5c56e1a79.tar.bz2
POSIX claims the includer of regex.h MUST include sys/types.h prior to including it.
Thus we can unify the case and unconditionally.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiedb/osqlitedriver.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/libopie2/opiedb/osqlitedriver.h b/libopie2/opiedb/osqlitedriver.h
index 33037b8..e38fd52 100644
--- a/libopie2/opiedb/osqlitedriver.h
+++ b/libopie2/opiedb/osqlitedriver.h
@@ -2,12 +2,7 @@
#define OSQL_LITE_DRIVER_H
#include <sqlite.h>
-#if defined (__GNUC__) && (__GNUC__ < 3)
#include <sys/types.h>
-#endif
-#ifdef Q_OS_MACX
-#include <sys/types.h>
-#endif
#include <regex.h>
#include "osqldriver.h"