diff --git a/include/Makefile.am b/include/Makefile.am index ee251f7..30423c4 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -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 diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h new file mode 100644 index 0000000..77ff9a5 --- /dev/null +++ b/include/sys/cdefs.h @@ -0,0 +1,14 @@ +/* + * Public domain + * sys/cdefs.h compatibility shim + */ + +#include_next + +#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