aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--palm/pilot-link/Makefile2
-rw-r--r--palm/pilot-link/files/patch-src_pilot-clip.c10
2 files changed, 12 insertions, 0 deletions
diff --git a/palm/pilot-link/Makefile b/palm/pilot-link/Makefile
index 907ceb740d66..b66b109ef5fe 100644
--- a/palm/pilot-link/Makefile
+++ b/palm/pilot-link/Makefile
@@ -35,6 +35,8 @@ OPTIONS= PNG "build with png support" off \
.if !defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --enable-threads
+CFLAGS+= ${PTHREAD_LIBS}
+CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
.endif
.if defined(WITH_USB)
diff --git a/palm/pilot-link/files/patch-src_pilot-clip.c b/palm/pilot-link/files/patch-src_pilot-clip.c
new file mode 100644
index 000000000000..890c6ac60b61
--- /dev/null
+++ b/palm/pilot-link/files/patch-src_pilot-clip.c
@@ -0,0 +1,10 @@
+--- src/pilot-clip.c.orig Sun Aug 6 16:55:58 2006
++++ src/pilot-clip.c Tue Nov 21 19:24:15 2006
+@@ -18,6 +18,7 @@
+ */
+
+ #include <stdio.h>
++#include <sys/types.h>
+ #include <netinet/in.h>
+
+ #include "pi-source.h"