summaryrefslogtreecommitdiff
path: root/packages/directfb/files/fix-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/directfb/files/fix-includes.patch')
-rw-r--r--packages/directfb/files/fix-includes.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/directfb/files/fix-includes.patch b/packages/directfb/files/fix-includes.patch
index 0c40cdb3a6..7b4a112582 100644
--- a/packages/directfb/files/fix-includes.patch
+++ b/packages/directfb/files/fix-includes.patch
@@ -1,7 +1,7 @@
#
# pkgconfig points to STAGING_INCDIR, hence
-# we need to append a directfb/ to make it
-# find its header files
+# we need to make this a local include
+# or else it doesn't find its own header files
#
# Signed-Off: mickey@openmoko.org
#
@@ -14,11 +14,11 @@ Index: DirectFB-1.0.0/include/directfb.h
#define __DIRECTFB_H__
-#include <dfb_types.h>
-+#include <directfb/dfb_types.h>
++#include "dfb_types.h"
#include <sys/time.h> /* struct timeval */
-#include <directfb_keyboard.h>
-+#include <directfb/directfb_keyboard.h>
++#include "directfb_keyboard.h"
#ifdef __cplusplus
extern "C"