about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile4
-rw-r--r--misc/error.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 343cc3ee62..43b6bbda43 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -24,7 +24,7 @@ subdir	:= misc
 
 headers	:= sys/uio.h iovec.h sys/ioctl.h ioctls.h ioctl-types.h \
 	   sys/ptrace.h sys/file.h sys/dir.h sys/cdefs.h \
-	   ar.h a.out.h nlist.h stab.h stab.def sgtty.h \
+	   ar.h a.out.h stab.h stab.def sgtty.h \
 	   ttyent.h syslog.h sys/syslog.h paths.h sys/reboot.h \
 	   sys/mman.h sys/param.h fstab.h mntent.h search.h err.h error.h\
 	   sys/queue.h sysexits.h syscall.h sys/syscall.h sys/swap.h \
@@ -44,7 +44,7 @@ routines := brk sbrk sstk ioctl \
 	    swapon swapoff mktemp mkstemp \
 	    ualarm usleep \
 	    gtty stty \
-	    ptrace nlist \
+	    ptrace \
 	    fstab mntent mntent_r \
 	    utimes \
 	    truncate ftruncate \
diff --git a/misc/error.c b/misc/error.c
index 82de13777e..3d2777bc2c 100644
--- a/misc/error.c
+++ b/misc/error.c
@@ -47,6 +47,8 @@ Cambridge, MA 02139, USA.  */
 void exit ();
 #endif
 
+#include "error.h"
+
 #ifndef _
 #define _(String) String
 #endif