summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert@openbsd.org <millert@openbsd.org>2015-02-05 13:59:57 +0100
committerDamien Miller <djm@mindrot.org>2015-02-06 21:48:00 +0100
commit1910a286d7771eab84c0b047f31c0a17505236fa (patch)
tree493644f399caf03d98f0fed1efdc25b5a083d839
parentupstream commit (diff)
downloadopenssh-1910a286d7771eab84c0b047f31c0a17505236fa.tar.xz
openssh-1910a286d7771eab84c0b047f31c0a17505236fa.zip
upstream commit
Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@
-rw-r--r--sshbuf-misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshbuf-misc.c b/sshbuf-misc.c
index bfeffe674..e07e34a8a 100644
--- a/sshbuf-misc.c
+++ b/sshbuf-misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshbuf-misc.c,v 1.2 2014/06/24 01:13:21 djm Exp $ */
+/* $OpenBSD: sshbuf-misc.c,v 1.3 2015/02/05 12:59:57 millert Exp $ */
/*
* Copyright (c) 2011 Damien Miller
*
@@ -22,6 +22,7 @@
#include <netinet/in.h>
#include <errno.h>
#include <stdlib.h>
+#include <stdint.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>