summaryrefslogtreecommitdiff
path: root/openbsd-compat
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
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')
-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 f522e6dde..e90265971 100644
--- a/openbsd-compat/glob.c
+++ b/openbsd-compat/glob.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: glob.c,v 1.41 2014/10/08 05:35:27 deraadt Exp $ */ 1/* $OpenBSD: glob.c,v 1.42 2015/02/05 12:59:57 millert Exp $ */
2/* 2/*
3 * Copyright (c) 1989, 1993 3 * Copyright (c) 1989, 1993
4 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -70,6 +70,9 @@
70#include <limits.h> 70#include <limits.h>
71#include <pwd.h> 71#include <pwd.h>
72#include <stdlib.h> 72#include <stdlib.h>
73#ifdef HAVE_STDINT_H
74#include <stdint.h>
75#endif
73#include <string.h> 76#include <string.h>
74#include <unistd.h> 77#include <unistd.h>
75 78