This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-portable
mirror of
https://github.com/Fincer/openntpd-portable
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
10
Wiki
Activity
Browse Source
add sys/mman.h for MAP_ANON and MAP_ANONYMOUS
OPENBSD_5_8
kinichiro
10 years ago
committed by
Brent Cook
parent
5d27eaaaea
commit
ee0dfcfd61
2 changed files
with
20 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
include/Makefile.am
+19
-0
include/sys/mman.h
+ 1
- 0
include/Makefile.am
View File
@ -6,6 +6,7 @@ noinst_HEADERS += sys/queue.h
noinst_HEADERS
+=
sys/socket.h
noinst_HEADERS
+=
sys/types.h
noinst_HEADERS
+=
sys/time.h
noinst_HEADERS
+=
sys/mman.h
noinst_HEADERS
+=
err.h
noinst_HEADERS
+=
ifaddrs.h
noinst_HEADERS
+=
imsg.h
+ 19
- 0
include/sys/mman.h
View File
@ -0,0 +1,19 @@
/*
*
Public
domain
*
sys
/
mman
.
h
compatibility
shim
*/
#
include
_next <sys/mman.h>
#
ifndef LIBCRYPTOCOMPAT_MMAN_H
#
define LIBCRYPTOCOMPAT_MMAN_H
#
ifndef MAP_ANON
#
ifdef MAP_ANONYMOUS
#
define MAP_ANON MAP_ANONYMOUS
#
else
#
error "System does not support mapping anonymous pages?"
#
endif
#
endif
#
endif
Write
Preview
Loading…
Cancel
Save