Browse Source

[core] define __EXTENSIONS__ on Illumos

(thx devnexen)
master
Glenn Strauss 5 months ago
parent
commit
a931b1fce2
  1. 4
      src/first.h
  2. 3
      tests/fcgi-responder.c

4
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

3
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>

Loading…
Cancel
Save