aboutsummaryrefslogtreecommitdiff
path: root/jackx.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-06-01 18:15:56 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-06-01 18:15:56 +0000
commit3d594931321f7b3b18f05144c51934195cb4c7ce (patch)
treef2f481bca7f4f3cbb2f1e61f02f4ff8536ca01b4 /jackx.c
parent7e253e09f95d272c5731bebae532f8abca03973f (diff)
got rid of warnings and made build on Mac OS X
svn path=/trunk/externals/jackx/; revision=9960
Diffstat (limited to 'jackx.c')
-rw-r--r--jackx.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/jackx.c b/jackx.c
index 9c04bd6..75042ce 100644
--- a/jackx.c
+++ b/jackx.c
@@ -33,6 +33,9 @@
#include "m_pd.h"
#include <unistd.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -72,7 +75,7 @@ methods for jack-ports
void jackports_input(t_jackports *x, t_symbol *s,int argc, t_atom *argv)
{
if (jc){
- char ** ports;
+ const char ** ports;
int l = 0;
int n = 0;
@@ -287,7 +290,7 @@ void jackconnect_query(t_jackconnect *x)
{
if (jc) {
- char **ports;
+ const char **ports;
int n=0;
jackconnect_getnames(x);