From: Todd C. Miller Date: Wed, 22 Aug 2018 16:27:33 +0000 (-0600) Subject: Include stddef.h for offsetof() definition. X-Git-Tag: SUDO_1_8_25^2~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aaefdd7575cec4ee8ad3597dd3f606c7d19b5e5e;p=sudo Include stddef.h for offsetof() definition. --- diff --git a/plugins/sudoers/cvtsudoers_pwutil.c b/plugins/sudoers/cvtsudoers_pwutil.c index 1ec54138c..74d158fdc 100644 --- a/plugins/sudoers/cvtsudoers_pwutil.c +++ b/plugins/sudoers/cvtsudoers_pwutil.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 1998-2005, 2007-2017 + * Copyright (c) 1996, 1998-2005, 2007-2018 * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any @@ -22,6 +22,7 @@ #include #include +#include #include #include #ifdef HAVE_STRING_H diff --git a/plugins/sudoers/ldap.c b/plugins/sudoers/ldap.c index 8d2b778b0..03691eaff 100644 --- a/plugins/sudoers/ldap.c +++ b/plugins/sudoers/ldap.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #ifdef HAVE_STRING_H diff --git a/plugins/sudoers/pwutil.c b/plugins/sudoers/pwutil.c index 405d20eb6..28fbeeb2f 100644 --- a/plugins/sudoers/pwutil.c +++ b/plugins/sudoers/pwutil.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 1998-2005, 2007-2017 + * Copyright (c) 1996, 1998-2005, 2007-2018 * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any @@ -22,6 +22,7 @@ #include #include +#include #include #include #include diff --git a/plugins/sudoers/pwutil_impl.c b/plugins/sudoers/pwutil_impl.c index 11c1b75ba..6d30fe08c 100644 --- a/plugins/sudoers/pwutil_impl.c +++ b/plugins/sudoers/pwutil_impl.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 1998-2005, 2007-2017 + * Copyright (c) 1996, 1998-2005, 2007-2018 * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any @@ -22,6 +22,7 @@ #include #include +#include #include #include #ifdef HAVE_STRING_H diff --git a/plugins/sudoers/rcstr.c b/plugins/sudoers/rcstr.c index b9fd475ee..16511edee 100644 --- a/plugins/sudoers/rcstr.c +++ b/plugins/sudoers/rcstr.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Todd C. Miller + * Copyright (c) 2016-2018 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -18,6 +18,7 @@ #include +#include #include #include #ifdef HAVE_STDBOOL_H diff --git a/plugins/sudoers/timestamp.c b/plugins/sudoers/timestamp.c index fa6960750..b74a63e8b 100644 --- a/plugins/sudoers/timestamp.c +++ b/plugins/sudoers/timestamp.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #if defined(HAVE_STDINT_H) diff --git a/src/sudo_noexec.c b/src/sudo_noexec.c index c2cababd0..1034e60a4 100644 --- a/src/sudo_noexec.c +++ b/src/sudo_noexec.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004-2005, 2010-2016 Todd C. Miller + * Copyright (c) 2004-2005, 2010-2018 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -27,6 +27,7 @@ #include #include +#include #include #include #include