summaryrefslogtreecommitdiff
path: root/libopie2
authormickeyl <mickeyl>2004-05-09 18:28:52 (UTC)
committer mickeyl <mickeyl>2004-05-09 18:28:52 (UTC)
commitd43222da148755b44c74b176cde4dec5c56e1a79 (patch) (unidiff)
treeb4fd6b8369deae40c78fd7f5ba12a13636cff831 /libopie2
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 (limited to 'libopie2') (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
@@ -1,22 +1,17 @@
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> 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"
14#include "osqlerror.h" 9#include "osqlerror.h"
15#include "osqlresult.h" 10#include "osqlresult.h"
16 11
17namespace Opie { 12namespace Opie {
18namespace DB { 13namespace DB {
19namespace Internal { 14namespace Internal {
20 15
21struct sqregex { 16struct sqregex {
22 char *regex_raw; 17 char *regex_raw;