summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda/pilot-link/files/pilot-link-0.12.3-glibc-open.patch')
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.3-glibc-open.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.3-glibc-open.patch b/app-pda/pilot-link/files/pilot-link-0.12.3-glibc-open.patch
index 90c0e11a9c68..661d4edd3935 100644
--- a/app-pda/pilot-link/files/pilot-link-0.12.3-glibc-open.patch
+++ b/app-pda/pilot-link/files/pilot-link-0.12.3-glibc-open.patch
@@ -1,6 +1,16 @@
diff -urN ./pilot-link-0.12.3.orig/src/pilot-schlep.c ./pilot-link-0.12.3/src/pilot-schlep.c
--- ./pilot-link-0.12.3.orig/src/pilot-schlep.c 2006-10-12 16:21:21.000000000 +0200
+++ ./pilot-link-0.12.3/src/pilot-schlep.c 2009-02-16 16:09:25.321851803 +0100
+@@ -21,6 +21,9 @@
+ *
+ */
+
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <fcntl.h>
+ #include <stdio.h>
+
+ #include "pi-source.h"
@@ -38,7 +38,7 @@
fd;
pi_buffer_t *buffer;