| 1 |
diff -ru picselshow-0.0.2-orig/data.c picselshow-0.0.2/data.c
|
| 2 |
--- picselshow-0.0.2-orig/data.c 2009-08-10 10:56:14.657708090 +0200
|
| 3 |
+++ picselshow-0.0.2/data.c 2009-08-10 11:02:12.287665408 +0200
|
| 4 |
@@ -453,7 +453,7 @@
|
| 5 |
|
| 6 |
bool cFileSource::Action(eAction act)
|
| 7 |
{
|
| 8 |
- static char *str[] = { "mount", "unmount", "eject", "status" };
|
| 9 |
+ static const char *str[] = { "mount", "unmount", "eject", "status" };
|
| 10 |
|
| 11 |
char *cmd = 0;
|
| 12 |
asprintf(&cmd, "%s %s %s", g_szMountScript, str[act], basedir);
|
| 13 |
diff -ru picselshow-0.0.2-orig/imagecache.h picselshow-0.0.2/imagecache.h
|
| 14 |
--- picselshow-0.0.2-orig/imagecache.h 2009-08-10 10:56:14.654371019 +0200
|
| 15 |
+++ picselshow-0.0.2/imagecache.h 2009-08-10 11:01:18.421003775 +0200
|
| 16 |
@@ -5,6 +5,7 @@
|
| 17 |
#ifndef VDR_IMAGECACHE_HPP
|
| 18 |
#define VDR_IMAGECACHE_HPP
|
| 19 |
|
| 20 |
+#include <sys/types.h>
|
| 21 |
#include <map>
|
| 22 |
#include <vector>
|
| 23 |
#include <string>
|