diff options
author | 2015-02-05 12:59:57 +0000 | |
---|---|---|
committer | 2015-02-05 12:59:57 +0000 | |
commit | 1357284a52eeaab13e37b2fa04ef8c1009e91b87 (patch) | |
tree | 0026dec4027925dd6be8de535cab2c05cbdbc4d3 /usr.bin/diff/xmalloc.c | |
parent | Include sys/stdint.h for SIZE_MAX. OK deraadt@ miod@ (diff) | |
download | wireguard-openbsd-1357284a52eeaab13e37b2fa04ef8c1009e91b87.tar.xz wireguard-openbsd-1357284a52eeaab13e37b2fa04ef8c1009e91b87.zip |
Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@
Diffstat (limited to 'usr.bin/diff/xmalloc.c')
-rw-r--r-- | usr.bin/diff/xmalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/diff/xmalloc.c b/usr.bin/diff/xmalloc.c index 97c9792a7f5..767500c0b07 100644 --- a/usr.bin/diff/xmalloc.c +++ b/usr.bin/diff/xmalloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xmalloc.c,v 1.4 2013/08/19 20:21:15 millert Exp $ */ +/* $OpenBSD: xmalloc.c,v 1.5 2015/02/05 12:59:57 millert Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -14,8 +14,8 @@ */ #include <err.h> -#include <limits.h> #include <stdarg.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |