summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rw-r--r--libexec/Makefile8
-rw-r--r--libexec/rtld-aout/shlib.c2
2 files changed, 2 insertions, 8 deletions
diff --git a/libexec/Makefile b/libexec/Makefile
index a9ede3e..75c768b 100644
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -23,6 +23,7 @@ SUBDIR= atrun \
rpc.rwalld \
rpc.sprayd \
rshd \
+ rtld-elf \
save-entropy \
talkd \
tcpd \
@@ -38,13 +39,6 @@ SUBDIR+=named-xfer
SUBDIR+=mail.local smrsh
.endif
-.if ${OBJFORMAT} == aout
-SUBDIR+=rtld-aout
-.endif
-
-.if ${OBJFORMAT} == elf
-SUBDIR+=rtld-elf
-.endif
.if defined(RELEASEDIR) || \
(!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \
diff --git a/libexec/rtld-aout/shlib.c b/libexec/rtld-aout/shlib.c
index 989cf45..9fd2c66 100644
--- a/libexec/rtld-aout/shlib.c
+++ b/libexec/rtld-aout/shlib.c
@@ -44,7 +44,7 @@
#include <stdlib.h>
#include <string.h>
-#include <link.h>
+#include <sys/link_aout.h>
#include "shlib.h"
#include "support.h"
OpenPOWER on IntegriCloud