diff options
author | jdl <x75@users.sourceforge.net> | 2002-10-20 16:01:10 +0000 |
---|---|---|
committer | jdl <x75@users.sourceforge.net> | 2002-10-20 16:01:10 +0000 |
commit | 749a6ec63a8f257c2b54511f1d7a5467ea4c38d9 (patch) | |
tree | cc19243d19b5a825456ac009b36d0765c4241dc3 /send+dump/sendOSC.c | |
parent | 32277d1a5af19be53733fe77949e4efda17cdd7e (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.c | 6 |
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; |