about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter A. Castro <doctor@fruitbat.org>2021-08-25 14:55:11 -0700
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2021-08-28 21:38:23 +0100
commite872a7cec99cb1dbdfc1673d1aa47ceb89014e20 (patch)
tree78978ddbd7c3887d829e5fb85e037071314c16fa
parente5cd2dd980302f328d232d933f646c3dc02828bf (diff)
downloadzsh-e872a7cec99cb1dbdfc1673d1aa47ceb89014e20.tar.gz
zsh-e872a7cec99cb1dbdfc1673d1aa47ceb89014e20.tar.xz
zsh-e872a7cec99cb1dbdfc1673d1aa47ceb89014e20.zip
users/26982, subset not already integrated: use standard #include format
-rw-r--r--ChangeLog6
-rw-r--r--Src/openssh_bsd_setres_id.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dd7b630d0..027408981 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-08-28  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* Peter A. Castro: users/26982 (subset as most of this already
+	present): Src/openssh_bsd_setres_id.c: use standard header
+	includes.
+
 2021-08-27  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 49290: Src/init.c, Src/input.c: Replace stdio for buffered
diff --git a/Src/openssh_bsd_setres_id.c b/Src/openssh_bsd_setres_id.c
index 65e91a40c..217a6d074 100644
--- a/Src/openssh_bsd_setres_id.c
+++ b/Src/openssh_bsd_setres_id.c
@@ -46,6 +46,8 @@
  *
  */
 
+#include "zsh.mdh"
+#include "openssh_bsd_setres_id.pro"
 
 #include <sys/types.h>
 
@@ -53,8 +55,6 @@
 #include <unistd.h>
 #include <string.h>
 
-#include "zsh.mdh"
-
 #if defined(ZSH_IMPLEMENT_SETRESGID) || defined(BROKEN_SETRESGID)
 int
 setresgid(gid_t rgid, gid_t egid, gid_t sgid)