diff options
author | dscho <dscho> | 2004-12-01 23:06:56 +0000 |
---|---|---|
committer | dscho <dscho> | 2004-12-01 23:06:56 +0000 |
commit | 658b65ad0cc2045bf2c930c8ef2a2853a07ba6ee (patch) | |
tree | 51a7b1f153204de2c3bc423411d8f5b2f566c4f6 /examples | |
parent | 7d3b1c9762b5f2878e9783677677cb2b3aa10e7e (diff) | |
download | libvncserver-658b65ad0cc2045bf2c930c8ef2a2853a07ba6ee.zip libvncserver-658b65ad0cc2045bf2c930c8ef2a2853a07ba6ee.tar.gz |
support MinGW32!
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile.am | 2 | ||||
-rw-r--r-- | examples/vncev.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index ff816ac..468e223 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,5 +1,5 @@ DEFINES=-I.. -g -Wall -LDADD = ../libvncserver/libvncserver.a +LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@ if OSX MAC=mac diff --git a/examples/vncev.c b/examples/vncev.c index e032529..5d7fb1b 100644 --- a/examples/vncev.c +++ b/examples/vncev.c @@ -2,7 +2,9 @@ #include <stdio.h> #include <stdlib.h> #include <sys/types.h> +#ifndef __MINGW32__ #include <sys/socket.h> +#endif #include <rfb/rfb.h> #include <rfb/default8x16.h> |