forked from enlightenment/efl
parent
0d4c616dc5
commit
ad7e82bae0
|
@ -434,10 +434,6 @@ AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS([unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h])
|
AC_CHECK_HEADERS([unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h])
|
||||||
EFL_CHECK_PATH_MAX
|
EFL_CHECK_PATH_MAX
|
||||||
|
|
||||||
if test "x${ac_cv_header_sys_mman_h}" = "xyes" ; then
|
|
||||||
AC_DEFINE([HAVE_MMAN_H], [1], [Define to 1 if you have the <sys/mman.h> header file.])
|
|
||||||
fi
|
|
||||||
|
|
||||||
### Checks for types
|
### Checks for types
|
||||||
AC_CHECK_TYPES([struct sigaction], [], [],
|
AC_CHECK_TYPES([struct sigaction], [], [],
|
||||||
[[#include <signal.h>]])
|
[[#include <signal.h>]])
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifdef HAVE_MMAN_H
|
#ifdef HAVE_SYS_MMAN_H
|
||||||
# include <sys/mman.h>
|
# include <sys/mman.h>
|
||||||
#endif
|
#endif
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -211,7 +211,7 @@ _cleanup_tmpf(Evas_Object *obj)
|
||||||
static void
|
static void
|
||||||
_create_tmpf(Evas_Object *obj, void *data, int size, char *format __UNUSED__)
|
_create_tmpf(Evas_Object *obj, void *data, int size, char *format __UNUSED__)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_MMAN_H
|
#ifdef HAVE_SYS_MMAN_H
|
||||||
Evas_Object_Image *o;
|
Evas_Object_Image *o;
|
||||||
char buf[4096];
|
char buf[4096];
|
||||||
void *dst;
|
void *dst;
|
||||||
|
|
Loading…
Reference in New Issue