aboutsummaryrefslogtreecommitdiff
path: root/src/htmsocket.c
diff options
context:
space:
mode:
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