summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/glob.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-11-15 16:01:20 +1100
committerDamien Miller <djm@mindrot.org>2019-11-15 16:01:20 +1100
commitfd62769c3882adea118dccaff80a06009874a2d1 (patch)
tree36dbc55e4b0a3618eff7fd482bc49981f91c01f0 /openbsd-compat/glob.c
parent2b6cba7ee2b8b36f393be739c860a9d2e5d8eb48 (diff)
upstream commit
revision 1.42 date: 2015/02/05 12:59:57; author: millert; state: Exp; lines: +2 -1; commitid: DTQbfd4poqBW8iSJ; Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@
Diffstat (limited to 'openbsd-compat/glob.c')
-rw-r--r--openbsd-compat/glob.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c
index f522e6dd..e9026597 100644
--- a/openbsd-compat/glob.c
+++ b/openbsd-compat/glob.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: glob.c,v 1.41 2014/10/08 05:35:27 deraadt Exp $ */
+/* $OpenBSD: glob.c,v 1.42 2015/02/05 12:59:57 millert Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -70,6 +70,9 @@
#include <limits.h>
#include <pwd.h>
#include <stdlib.h>
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#include <string.h>
#include <unistd.h>