From dcbf18d17667843589b6ead2214454b3973d0b23 Mon Sep 17 00:00:00 2001 From: Andy Georges Date: Tue, 19 Nov 2024 14:57:12 +0100 Subject: [PATCH] fix: remove include and define, no longer used --- src/slurmd/slurmd/req.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/slurmd/slurmd/req.c b/src/slurmd/slurmd/req.c index 13ae5006800..fa2baebe538 100644 --- a/src/slurmd/slurmd/req.c +++ b/src/slurmd/slurmd/req.c @@ -40,10 +40,8 @@ \*****************************************************************************/ #include "config.h" -#include #define _GNU_SOURCE /* for setresuid() */ -#define __USE_XOPEN_EXTENDED #include #include @@ -2542,7 +2540,7 @@ static void _rpc_prolog(slurm_msg_t *msg) job_env.uid = req->uid; job_env.gid = req->gid; - rc = run_prolog(&job_env, req->cred); + rc = run_prolog(&job_env, req->cred); _free_job_env(&job_env); if (rc) { int term_sig = 0, exit_status = 0;