aboutsummaryrefslogtreecommitdiff
path: root/src/htmsocket.c
diff options
context:
space:
mode:
authorGeorg Holzmann <grholzi@users.sourceforge.net>2005-08-30 20:54:05 +0000
committerGeorg Holzmann <grholzi@users.sourceforge.net>2005-08-30 20:54:05 +0000
commit6d196fd8683288fa5f29f6eddd28fb12a0a06c79 (patch)
tree37f0d218aa47d0afc947d9faa32c574ee3696e86 /src/htmsocket.c
parenta340c7d62240db6628c0f7a13e04ae6ff52bda0d (diff)
changes by piotr majdak
svn path=/trunk/externals/OSCx/; revision=3464
Diffstat (limited to 'src/htmsocket.c')
-rw-r--r--src/htmsocket.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/htmsocket.c b/src/htmsocket.c
index 3bcf3b9..d9d9343 100644
--- a/src/htmsocket.c
+++ b/src/htmsocket.c
@@ -54,6 +54,7 @@ The OSC webpage is http://cnmat.cnmat.berkeley.edu/OpenSoundControl
#include <sys/types.h>
#include <stdlib.h>
#include "OSC-common.h"
+ #include <stdio.h>
#else
#include <stdio.h>
#include <unistd.h>
@@ -113,11 +114,12 @@ void *OpenHTMSocket(char *host, int portnumber)
unsigned int sockfd;
#endif
+ char oval = 1;
+
desc *o;
o = malloc(sizeof(*o));
if(!o)
return 0;
- int oval = 1;
#ifndef WIN32