mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
move symbol definition for Cygwin (fix #506)
This commit is contained in:
1 parent
63e15bb55c
commit
0dd580f45b
2 files changed
+7
-6
No files matched your search
@@ -25,12 +25,6 @@
|
|||||||
#include <sys/prctl.h>
|
#include <sys/prctl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Added to make the code compilable under CYGWIN
|
|
||||||
* */
|
|
||||||
#ifndef SA_NOCLDWAIT
|
|
||||||
#define SA_NOCLDWAIT 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Make use of systemd socket activation
|
/* Make use of systemd socket activation
|
||||||
* */
|
* */
|
||||||
#ifdef SYSTEMD
|
#ifdef SYSTEMD
|
||||||
|
|||||||
@@ -9,6 +9,13 @@
|
|||||||
#define FD_SETSIZE 4096
|
#define FD_SETSIZE 4096
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Cygwin does not define some symbols
|
||||||
|
* */
|
||||||
|
#ifndef SA_NOCLDWAIT
|
||||||
|
#define SA_NOCLDWAIT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|||||||
Reference in new issue
Block a user