blob: eb36cd49bbae65f0f1aa8a288bef92e6562313de [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001From 386e2c2fa2ab2e02ef71c268a57205139be329ab Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 31 Aug 2015 07:07:49 +0000
4Subject: [PATCH] Include sys/types.h for id_t definition
5
6/sudo_util.h:219:14: error: unknown type name 'id_t'
7 __dso_public id_t sudo_strtoid_v1(const char *str, const char *sep,
8 char **endp, const char **errstr);
9 ^
10 make[1]: *** [preserve_fds.o] Error 1
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14Upstream-Status: Pending
15
16 include/sudo_util.h | 2 ++
17 1 file changed, 2 insertions(+)
18
19diff --git a/include/sudo_util.h b/include/sudo_util.h
20index 89c9f89..ac0855a 100644
21--- a/include/sudo_util.h
22+++ b/include/sudo_util.h
23@@ -17,6 +17,8 @@
24 #ifndef SUDO_UTIL_H
25 #define SUDO_UTIL_H
26
27+#include <sys/types.h>
28+
29 #ifdef HAVE_STDBOOL_H
30 # include <stdbool.h>
31 #else
32--
332.5.1
34