author | sandman <sandman> | 2002-06-27 01:39:00 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-27 01:39:00 (UTC) |
commit | ed8d1696ca8f0407cb7e6b91cc8d410dede5ccdc (patch) (unidiff) | |
tree | ac60a3f150442a35d13fbe90733a70f891c81a28 /library/qpeapplication.cpp | |
parent | a86c09e8a12b504471ffeb8966e34a79dd8518b5 (diff) | |
download | opie-ed8d1696ca8f0407cb7e6b91cc8d410dede5ccdc.zip opie-ed8d1696ca8f0407cb7e6b91cc8d410dede5ccdc.tar.gz opie-ed8d1696ca8f0407cb7e6b91cc8d410dede5ccdc.tar.bz2 |
Including kernel headers in user space apps is bad .. just copy the defines
(There were problems with some toolchain configurations)
-rw-r--r-- | library/qpeapplication.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 87a9739..76d62ef 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -48,7 +48,18 @@ | |||
48 | #include <qevent.h> | 48 | #include <qevent.h> |
49 | #include <qtooltip.h> | 49 | #include <qtooltip.h> |
50 | #include <qsignal.h> | 50 | #include <qsignal.h> |
51 | #include <linux/fb.h> | 51 | |
52 | |||
53 | //#include <linux/fb.h> better not rely on kernel headers in userspace ... | ||
54 | |||
55 | /* VESA Blanking Levels */ | ||
56 | #define VESA_NO_BLANKING 0 | ||
57 | #define VESA_VSYNC_SUSPEND 1 | ||
58 | #define VESA_HSYNC_SUSPEND 2 | ||
59 | #define VESA_POWERDOWN 3 | ||
60 | |||
61 | #define FBIOBLANK 0x4611 | ||
62 | |||
52 | 63 | ||
53 | #include <qsignal.h> | 64 | #include <qsignal.h> |
54 | #include "qpeapplication.h" | 65 | #include "qpeapplication.h" |