diff options
Diffstat (limited to 'usr.bin/nm')
-rw-r--r-- | usr.bin/nm/elf.c | 4 | ||||
-rw-r--r-- | usr.bin/nm/nm.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/nm/elf.c b/usr.bin/nm/elf.c index 7e323d31de8..74b3bd35979 100644 --- a/usr.bin/nm/elf.c +++ b/usr.bin/nm/elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elf.c,v 1.23 2013/11/26 13:19:07 deraadt Exp $ */ +/* $OpenBSD: elf.c,v 1.24 2015/01/16 06:40:10 deraadt Exp $ */ /* * Copyright (c) 2003 Michael Shalayeff @@ -26,7 +26,6 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> #include <sys/mman.h> #include <unistd.h> #include <a.out.h> @@ -36,6 +35,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <limits.h> #include <ctype.h> #include "elfuncs.h" #include "util.h" diff --git a/usr.bin/nm/nm.c b/usr.bin/nm/nm.c index a9622b67cad..3937f4926c1 100644 --- a/usr.bin/nm/nm.c +++ b/usr.bin/nm/nm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nm.c,v 1.41 2014/04/28 18:49:28 miod Exp $ */ +/* $OpenBSD: nm.c,v 1.42 2015/01/16 06:40:10 deraadt Exp $ */ /* $NetBSD: nm.c,v 1.7 1996/01/14 23:04:03 pk Exp $ */ /* @@ -33,7 +33,7 @@ * SUCH DAMAGE. */ -#include <sys/param.h> +#include <sys/types.h> #include <sys/mman.h> #include <a.out.h> #include <elf_abi.h> |