From 1f8a958cf61bc473bb0aa05a133ad40412910811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 9 May 2026 17:56:53 +0200 Subject: New upstream version 5.4 --- src/proc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/proc.c') diff --git a/src/proc.c b/src/proc.c index c8957b6..a4bc6ab 100644 --- a/src/proc.c +++ b/src/proc.c @@ -1,6 +1,6 @@ /* * Process management - * Copyright Jan Engelhardt, 2008-2009 + * Copyright Jan Engelhardt, 2026 * * This file is part of libHX. libHX is free software; you can * redistribute it and/or modify it under the terms of the GNU Lesser @@ -10,6 +10,10 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif +#define _DEFAULT_SOURCE +#ifdef __CYGWIN__ +# define _BSD_SOURCE /* initgroups */ +#endif #include "internal.h" #include #include @@ -21,7 +25,6 @@ #ifdef _WIN32 # include #endif - #if defined(HAVE_INITGROUPS) && defined(HAVE_SETGID) #include #include -- cgit v1.2.3