diff options
author | 2015-02-05 12:59:57 +0000 | |
---|---|---|
committer | 2015-02-05 12:59:57 +0000 | |
commit | 1357284a52eeaab13e37b2fa04ef8c1009e91b87 (patch) | |
tree | 0026dec4027925dd6be8de535cab2c05cbdbc4d3 /lib/libc/stdio/open_memstream.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 'lib/libc/stdio/open_memstream.c')
-rw-r--r-- | lib/libc/stdio/open_memstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/open_memstream.c b/lib/libc/stdio/open_memstream.c index 4ab9bc51e1d..d38c210df9e 100644 --- a/lib/libc/stdio/open_memstream.c +++ b/lib/libc/stdio/open_memstream.c @@ -1,4 +1,4 @@ -/* $OpenBSD: open_memstream.c,v 1.4 2015/01/16 16:48:51 deraadt Exp $ */ +/* $OpenBSD: open_memstream.c,v 1.5 2015/02/05 12:59:57 millert Exp $ */ /* * Copyright (c) 2011 Martin Pieuchot <mpi@openbsd.org> @@ -18,7 +18,7 @@ #include <errno.h> #include <fcntl.h> -#include <limits.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |