summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-02-05 12:59:57 +0000
committermillert <millert@openbsd.org>2015-02-05 12:59:57 +0000
commit1357284a52eeaab13e37b2fa04ef8c1009e91b87 (patch)
tree0026dec4027925dd6be8de535cab2c05cbdbc4d3 /usr.bin/diff/diffreg.c
parentInclude sys/stdint.h for SIZE_MAX. OK deraadt@ miod@ (diff)
downloadwireguard-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/diffreg.c')
-rw-r--r--usr.bin/diff/diffreg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c
index 83a86e6aab4..e4eaa00f49c 100644
--- a/usr.bin/diff/diffreg.c
+++ b/usr.bin/diff/diffreg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diffreg.c,v 1.84 2015/01/16 06:40:07 deraadt Exp $ */
+/* $OpenBSD: diffreg.c,v 1.85 2015/02/05 12:59:57 millert Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -72,6 +72,7 @@
#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>