Hello,

I am using msys2 to build a software package that uses the mmap 
interface, and it dies because the header isn't found:

compiling src/platform/posix/mmap.o
src/platform/posix/mmap.c:2:22: fatal error: sys/mman.h: No such file or 
directory
  #include <sys/mman.h>
                       ^
compilation terminated.

I couldn't find anything that looked relevant in pacman -Ss.

It does seem to be in my Cygwin installation, but of course I'm not 
using that in msys.

C:\>dir C:\cygwin64\usr\include\sys\mman.h
  Volume in drive C is OS
  Volume Serial Number is 6056-56E0

  Directory of C:\cygwin64\usr\include\sys

08/31/2016  20:32             2,456 mman.h
                1 File(s)          2,456 bytes
                0 Dir(s)  393,821,675,520 bytes free

-Greg


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to