diff options
| author | kleink <kleink@NetBSD.org> | 1999-01-11 22:39:59 +0000 |
|---|---|---|
| committer | kleink <kleink@NetBSD.org> | 1999-01-11 22:39:59 +0000 |
| commit | 3ed4fcf61e1aef0cdae01dd587cf8def01630949 (patch) | |
| tree | 15f8e5c78e49c6e1206ba78929505d7d2cc43d5b /usr.bin/elf2ecoff | |
| parent | 555784ccd5e9c774ff846f2868027bf90bc30e55 (diff) | |
In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
Diffstat (limited to 'usr.bin/elf2ecoff')
| -rw-r--r-- | usr.bin/elf2ecoff/elf2ecoff.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/elf2ecoff/elf2ecoff.c b/usr.bin/elf2ecoff/elf2ecoff.c index 3758a246056..505dc62f6a1 100644 --- a/usr.bin/elf2ecoff/elf2ecoff.c +++ b/usr.bin/elf2ecoff/elf2ecoff.c @@ -1,4 +1,4 @@ -/* $NetBSD: elf2ecoff.c,v 1.11 1998/11/27 05:09:50 simonb Exp $ */ +/* $NetBSD: elf2ecoff.c,v 1.12 1999/01/11 22:40:00 kleink Exp $ */ /* * Copyright (c) 1997 Jonathan Stone @@ -39,6 +39,7 @@ #include <sys/types.h> #include <err.h> +#include <errno.h> #include <fcntl.h> #include <unistd.h> #include <sys/exec.h> @@ -46,7 +47,6 @@ #include <sys/exec_aout.h> #include <stdio.h> #include <sys/exec_ecoff.h> -#include <sys/errno.h> #include <stdlib.h> #include <string.h> #include <limits.h> @@ -110,7 +110,6 @@ write_ecoff_symhdr(int outfile, struct ecoff_exechdr * ep, void pad16(int fd, int size, const char *msg); -extern int errno; int *symTypeTable; |
