aboutsummaryrefslogtreecommitdiff
path: root/send+dump/sendOSC.c
diff options
context:
space:
mode:
authorjdl <x75@users.sourceforge.net>2002-10-20 16:01:10 +0000
committerjdl <x75@users.sourceforge.net>2002-10-20 16:01:10 +0000
commit749a6ec63a8f257c2b54511f1d7a5467ea4c38d9 (patch)
treecc19243d19b5a825456ac009b36d0765c4241dc3 /send+dump/sendOSC.c
parent32277d1a5af19be53733fe77949e4efda17cdd7e (diff)
reduce warnings pass #1
svn path=/trunk/externals/OSCx/; revision=179
Diffstat (limited to 'send+dump/sendOSC.c')
-rw-r--r--send+dump/sendOSC.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/send+dump/sendOSC.c b/send+dump/sendOSC.c
index db188dd..d37a539 100644
--- a/send+dump/sendOSC.c
+++ b/send+dump/sendOSC.c
@@ -55,6 +55,10 @@ compiling:
/* #include <bstring.h> */
#include <string.h>
+#ifdef unix
+ #include <ctype.h>
+ #include <netinet/in.h>
+#endif
typedef struct {
enum {INT, FLOAT, STRING} type;
@@ -88,7 +92,7 @@ static int exitStatus = 0;
static int useTypeTags = 1;
-main(int argc, char *argv[]) {
+int main(int argc, char *argv[]) {
int portnumber;
char *hostname = 0;
void *htmsocket;