forked from enlightenment/efl
geneirc loader build patches for windows
from T3790 - xcf.diff
This commit is contained in:
parent
e57d2a5106
commit
91282b61cb
|
@ -2541,6 +2541,7 @@ generic/evas/xcf/pixelfuncs.c \
|
||||||
generic/evas/common/shmfile.c \
|
generic/evas/common/shmfile.c \
|
||||||
generic/evas/common/timeout.c
|
generic/evas/common/timeout.c
|
||||||
generic_evas_xcf_evas_image_loader_xcf_CFLAGS = \
|
generic_evas_xcf_evas_image_loader_xcf_CFLAGS = \
|
||||||
|
@EVAS_CFLAGS@ \
|
||||||
-I$(top_srcdir)/src/lib/efl \
|
-I$(top_srcdir)/src/lib/efl \
|
||||||
-I$(top_srcdir)/src/lib/eina \
|
-I$(top_srcdir)/src/lib/eina \
|
||||||
-I$(top_builddir)/src/lib/eina \
|
-I$(top_builddir)/src/lib/eina \
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <netinet/in.h>
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
@ -10,7 +10,9 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <netinet/in.h>
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
@ -49,6 +49,10 @@
|
||||||
#include "shmfile.h"
|
#include "shmfile.h"
|
||||||
#include "timeout.h"
|
#include "timeout.h"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# include <winsock2.h> /* for ntohl() */
|
||||||
|
#endif
|
||||||
|
|
||||||
#define FREE(X) { free(X); X = NULL; }
|
#define FREE(X) { free(X); X = NULL; }
|
||||||
|
|
||||||
#define TILE_WIDTH 64
|
#define TILE_WIDTH 64
|
||||||
|
|
Loading…
Reference in New Issue