diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2022-01-03 14:23:37 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-01-04 04:25:21 -0500 |
commit | a931b1fce2a33d6f5ba83d585f5ccefdadaf35e1 (patch) | |
tree | a2f42152c685be44b9221d4ab7dc36680364c950 | |
parent | 7ead56183b10c8e259c3a84a94bcf15a2393d42f (diff) | |
download | lighttpd-git-a931b1fce2a33d6f5ba83d585f5ccefdadaf35e1.tar.gz |
[core] define __EXTENSIONS__ on Illumos
(thx devnexen)
-rw-r--r-- | src/first.h | 4 | ||||
-rw-r--r-- | tests/fcgi-responder.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/first.h b/src/first.h index 536a7e53..d54eb5dd 100644 --- a/src/first.h +++ b/src/first.h @@ -19,6 +19,10 @@ #endif #endif +#if defined(__sun) +#define __EXTENSIONS__ +#endif + #ifndef __STDC_WANT_LIB_EXT1__ #define __STDC_WANT_LIB_EXT1__ 1 #endif diff --git a/tests/fcgi-responder.c b/tests/fcgi-responder.c index 1b869b8e..6dbc1c01 100644 --- a/tests/fcgi-responder.c +++ b/tests/fcgi-responder.c @@ -11,6 +11,9 @@ * Copyright(c) 2020 Glenn Strauss gstrauss()gluelogic.com All rights reserved * License: BSD 3-clause (same as lighttpd) */ +#if defined(__sun) +#define __EXTENSIONS__ +#endif #include <sys/types.h> #include <sys/socket.h> |