move symbol definition for Cygwin (fix #506)

This commit is contained in:
Yves Rutschle committed 2025-09-24 14:48:16 +02:00
1 parent 63e15bb55c
commit 0dd580f45b
2 files changed
+7 -6

No files matched your search

-6
View File
@@ -25,12 +25,6 @@
#include <sys/prctl.h>
#endif
/* Added to make the code compilable under CYGWIN
* */
#ifndef SA_NOCLDWAIT
#define SA_NOCLDWAIT 0
#endif
/* Make use of systemd socket activation
* */
#ifdef SYSTEMD
+7
View File
@@ -9,6 +9,13 @@
#define FD_SETSIZE 4096
#endif
/* Cygwin does not define some symbols
* */
#ifndef SA_NOCLDWAIT
#define SA_NOCLDWAIT 0
#endif
#define _GNU_SOURCE
#include <sys/types.h>
#include <fcntl.h>