diff options
Diffstat (limited to 'meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch')
-rw-r--r-- | meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch b/meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch new file mode 100644 index 0000000000..28bd534f37 --- /dev/null +++ b/meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | diff -uNr DirectFB-1.4.6.orig/tools/mkdfiff.c DirectFB-1.4.6/tools/mkdfiff.c | ||
2 | --- DirectFB-1.4.6.orig/tools/mkdfiff.c 2010-10-15 10:54:57.000000000 +0200 | ||
3 | +++ DirectFB-1.4.6/tools/mkdfiff.c 2010-10-15 10:54:15.000000000 +0200 | ||
4 | @@ -50,6 +50,8 @@ | ||
5 | |||
6 | #include <dfiff.h> | ||
7 | |||
8 | +#include <unistd.h> | ||
9 | + | ||
10 | static DirectFBPixelFormatNames( format_names ); | ||
11 | |||
12 | static const char *filename; | ||
13 | diff -uNr DirectFB-1.4.6.orig/tools/mkdgifft.cpp DirectFB-1.4.6/tools/mkdgifft.cpp | ||
14 | --- DirectFB-1.4.6.orig/tools/mkdgifft.cpp 2010-10-08 14:02:57.000000000 +0200 | ||
15 | +++ DirectFB-1.4.6/tools/mkdgifft.cpp 2010-10-15 10:56:06.000000000 +0200 | ||
16 | @@ -40,6 +40,8 @@ | ||
17 | #include <errno.h> | ||
18 | #include <stdio.h> | ||
19 | #include <stdlib.h> | ||
20 | +#include <sys/stat.h> | ||
21 | +#include <sys/types.h> | ||
22 | #include <unistd.h> | ||
23 | #include <fcntl.h> | ||
24 | #include <sys/mman.h> | ||