now that I'm aware of script-fu-server running on win32 make it compile

2005-02-19  Hans Breuer  <hans@breuer.org>

	* plug-ins/makefile.msc plug-ins/script-fu/script-fu-server.c :
	now that I'm aware of script-fu-server running on win32 make it
	compile with msvc, too ;)
This commit is contained in:
Hans Breuer 2005-02-19 17:00:25 +00:00 committed by Hans Breuer
parent 319d1575c1
commit 1f4b749d11
3 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-02-19 Hans Breuer <hans@breuer.org>
* plug-ins/makefile.msc plug-ins/script-fu/script-fu-server.c :
now that I'm aware of script-fu-server running on win32 make it
compile with msvc, too ;)
2005-02-19 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdockable.c

View File

@ -543,10 +543,11 @@ OBJECTS = \
script-fu-scripts.obj \
script-fu-text-console.obj \
script-fu-interface.obj \
script-fu-server.obj \
..\dbbrowser\gimpprocbrowser.obj \
..\dbbrowser\gimpprocbox.obj \
..\dbbrowser\gimpprocview.obj
EXTRALIBS = ..\..\regexrepl\regexrepl.lib siod\siod.lib kernel32.lib
EXTRALIBS = ..\..\regexrepl\regexrepl.lib siod\siod.lib kernel32.lib wsock32.lib
EXTRACFLAGS = -DREGEX_MALLOC
HAVE_RESOURCE = YES
!ENDIF

View File

@ -24,14 +24,19 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <time.h>
#include <errno.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <sys/types.h>
#ifdef G_OS_WIN32
#include <winsock2.h>
#include <libgimpbase/gimpwin32-io.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>