From e4e815dd8284cfa1532e578acccd80d18602a69f Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 10 Aug 2012 15:29:07 -0400 Subject: [PATCH] Include signal.h before sudo_exec.h since it uses sigset_t * in the fork_pty prototype. --- src/exec_common.c | 1 + src/sesh.c | 1 + src/utmp.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/exec_common.c b/src/exec_common.c index a4cd5400b..ff06dabd4 100644 --- a/src/exec_common.c +++ b/src/exec_common.c @@ -40,6 +40,7 @@ # include #endif #include +#include #include "sudo.h" #include "sudo_exec.h" diff --git a/src/sesh.c b/src/sesh.c index d6b56c3c5..e6d57e5e4 100644 --- a/src/sesh.c +++ b/src/sesh.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #ifdef HAVE_SETLOCALE # include diff --git a/src/utmp.c b/src/utmp.c index 427cdc50f..91ff144dd 100644 --- a/src/utmp.c +++ b/src/utmp.c @@ -53,6 +53,7 @@ # include #endif #include +#include #include "sudo.h" #include "sudo_exec.h" -- 2.40.0