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 cdefs shim for defining __weak_alias on platforms without it
OPENBSD_5_8
Brent Cook
9 years ago
parent
a4b54ce35a
commit
6759f143ed
2 changed files
with
15 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
include/Makefile.am
+14
-0
include/sys/cdefs.h
+ 1
- 0
include/Makefile.am
View File
@ -1,6 +1,7 @@
noinst_HEADERS
=
noinst_HEADERS
+=
signal.h
noinst_HEADERS
+=
unistd.h
noinst_HEADERS
+=
sys/cdefs.h
noinst_HEADERS
+=
sys/queue.h
noinst_HEADERS
+=
sys/socket.h
noinst_HEADERS
+=
sys/types.h
+ 14
- 0
include/sys/cdefs.h
View File
@ -0,0 +1,14 @@
/*
*
Public
domain
*
sys
/
cdefs
.
h
compatibility
shim
*/
#
include
_next <sys/cdefs.h>
#
ifndef __weak_alias
/*
*
We
do
not
use
any
of
the
SHA
function
aliases
that
this
would
provide
in
*
OpenNTPD
*/
#
define __weak_alias(alias,sym)
#
endif
Write
Preview
Loading…
Cancel
Save