/usr/include/lighttpd/sys-mmap.h is in lighttpd-dev 1.4.33-1+nmu2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #ifndef WIN32_MMAP_H
#define WIN32_MMAP_H
#ifdef __WIN32
#define MAP_FAILED -1
#define PROT_SHARED 0
#define MAP_SHARED 0
#define PROT_READ 0
#define mmap(a, b, c, d, e, f) (-1)
#define munmap(a, b) (-1)
#include <windows.h>
#else
#include <sys/mman.h>
#ifndef MAP_FAILED
#define MAP_FAILED -1
#endif
#endif
#endif
|