geneirc loader build patches for windows

from T3790 - xcf.diff
This commit is contained in:
Vincent Torri 2016-06-15 14:53:01 +09:00 committed by Carsten Haitzler (Rasterman)
parent e57d2a5106
commit 91282b61cb
4 changed files with 11 additions and 2 deletions

View File

@ -2541,6 +2541,7 @@ generic/evas/xcf/pixelfuncs.c \
generic/evas/common/shmfile.c \
generic/evas/common/timeout.c
generic_evas_xcf_evas_image_loader_xcf_CFLAGS = \
@EVAS_CFLAGS@ \
-I$(top_srcdir)/src/lib/efl \
-I$(top_srcdir)/src/lib/eina \
-I$(top_builddir)/src/lib/eina \

View File

@ -7,7 +7,9 @@
#include <sys/types.h>
#include <unistd.h>
#include <math.h>
#include <netinet/in.h>
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <time.h>
#include <sys/mman.h>
#include <sys/stat.h>

View File

@ -10,7 +10,9 @@
#include <sys/types.h>
#include <unistd.h>
#include <math.h>
#include <netinet/in.h>
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#include <time.h>
#include <sys/mman.h>
#include <sys/stat.h>

View File

@ -49,6 +49,10 @@
#include "shmfile.h"
#include "timeout.h"
#ifdef _WIN32
# include <winsock2.h> /* for ntohl() */
#endif
#define FREE(X) { free(X); X = NULL; }
#define TILE_WIDTH 64