author | brad <brad> | 2004-04-06 13:12:05 (UTC) |
---|---|---|
committer | brad <brad> | 2004-04-06 13:12:05 (UTC) |
commit | 6821faed5fd1db0861dff48a5660a3336211b3be (patch) (unidiff) | |
tree | 5cb18c3bf36337648464a23a42890bded169b73c | |
parent | 4aa395c79d046fafe11d0e9c9838f6565019d7d3 (diff) | |
download | opie-6821faed5fd1db0861dff48a5660a3336211b3be.zip opie-6821faed5fd1db0861dff48a5660a3336211b3be.tar.gz opie-6821faed5fd1db0861dff48a5660a3336211b3be.tar.bz2 |
<sigh> gcc 2.95.3 compile fix
-rw-r--r-- | libopie2/opiedb/osqlitedriver.h | 3 |
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 | |||
@@ -1,16 +1,19 @@ | |||
1 | #ifndef OSQL_LITE_DRIVER_H | 1 | #ifndef OSQL_LITE_DRIVER_H |
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> | ||
7 | #endif | ||
5 | #include <regex.h> | 8 | #include <regex.h> |
6 | 9 | ||
7 | #include "osqldriver.h" | 10 | #include "osqldriver.h" |
8 | #include "osqlerror.h" | 11 | #include "osqlerror.h" |
9 | #include "osqlresult.h" | 12 | #include "osqlresult.h" |
10 | 13 | ||
11 | namespace Opie { | 14 | namespace Opie { |
12 | namespace DB { | 15 | namespace DB { |
13 | namespace Internal { | 16 | namespace Internal { |
14 | 17 | ||
15 | struct sqregex { | 18 | struct sqregex { |
16 | char *regex_raw; | 19 | char *regex_raw; |