From 740e64b59bdb2ca4b08a11162a20f8bb1d305b00 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 9 Jul 2007 20:57:12 +0000 Subject: got moonlib compiling with some minor tweaks svn path=/trunk/externals/moonlib/; revision=7952 --- dinlet~.c | 2 +- joystik.c | 2 ++ wac.c | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dinlet~.c b/dinlet~.c index dc7f260..7933eac 100644 --- a/dinlet~.c +++ b/dinlet~.c @@ -121,7 +121,7 @@ static void *dinlet_newsig(t_floatarg f) { t_vinlet *x = (t_vinlet *)pd_new(vinlet_class); x->x_canvas = canvas_getcurrent(); - x->x_inlet = canvas_addinlet(x->x_canvas, &x->x_obj.ob_pd, &s_signal,0); + x->x_inlet = canvas_addinlet(x->x_canvas, &x->x_obj.ob_pd, &s_signal); x->x_endbuf = x->x_buf = (t_float *)getbytes(0); x->x_bufsize = 0; x->x_directsignal = 0; diff --git a/joystik.c b/joystik.c index 2c09093..891b551 100644 --- a/joystik.c +++ b/joystik.c @@ -1,3 +1,4 @@ +#ifdef __gnu_linux__ /* 'pd_joystik' (An external library for Miller Puckette's 'PD' software adding PC and/or USB joystik control capabilities) @@ -189,3 +190,4 @@ static void joystik_read(GList *l,int fd) } } +#endif /* __gnu_linux__ */ diff --git a/wac.c b/wac.c index 1bf132e..4b8809d 100644 --- a/wac.c +++ b/wac.c @@ -2,7 +2,8 @@ wacom graphire on serial port only... */ -#include +#include +#include #include #include -- cgit v1.2.1