evas: improve portability for BSD system.
authorAlex-P. Natsios <drakevr@2f30.org>
Sat, 15 Mar 2014 10:57:59 +0000 (19:57 +0900)
committerCedric BAIL <cedric.bail@free.fr>
Sat, 15 Mar 2014 10:58:08 +0000 (19:58 +0900)
commitfa2b1b3d30f8fd54d6b33e2aef3cde848676cb7b
tree98c7575ce93c01d293e0992e2688d62db30c8d5b
parent4d8fbd623cfe8c8a30149cb383b69cc3a2eae44d
evas: improve portability for BSD system.

configure: fix prerequisite header issue

Summary:
in some platforms like openBSD <sys/socket.h> must be included before
net/if.h

the canonical way to ensure that with autotools is by providing that
fourth directive.

evas: use MAP_ANON instead of MAP_ANONYMOUS

Stupid unpredictable standards (or not so standard).
MAP_ANON exists and is defined almost anywhere unlike MAP_ANONYMOUS

Let's use that for portability's sake (they are practically identical
anyway)

Reviewers: raster, cedric

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D616

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
configure.ac
src/lib/evas/common/evas_image_main.c