author | mickeyl <mickeyl> | 2004-05-09 18:28:52 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-05-09 18:28:52 (UTC) |
commit | d43222da148755b44c74b176cde4dec5c56e1a79 (patch) (unidiff) | |
tree | b4fd6b8369deae40c78fd7f5ba12a13636cff831 /libopie2 | |
parent | 81bc0cecdeb7c49f4f2950c1e5649bad05593d0c (diff) | |
download | opie-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.
-rw-r--r-- | libopie2/opiedb/osqlitedriver.h | 5 |
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 @@ | |||
2 | #define OSQL_LITE_DRIVER_H | 2 | #define OSQL_LITE_DRIVER_H |
3 | 3 | ||
4 | #include <sqlite.h> | 4 | #include <sqlite.h> |
5 | #if defined (__GNUC__) && (__GNUC__ < 3) | ||
6 | #include <sys/types.h> | 5 | #include <sys/types.h> |
7 | #endif | ||
8 | #ifdef Q_OS_MACX | ||
9 | #include <sys/types.h> | ||
10 | #endif | ||
11 | #include <regex.h> | 6 | #include <regex.h> |
12 | 7 | ||
13 | #include "osqldriver.h" | 8 | #include "osqldriver.h" |