Skip to content

Commit 9577ce9

Browse files
committed
don't include standard headers before NGINX headers
see OpenIDC/ngx_sts_module#2 avoid compilation error with NGINX 1.26.0: field 'pkt6' has incomplete type Signed-off-by: Hans Zandbelt <[email protected]>
1 parent 905ffc2 commit 9577ce9

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.cproject

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,17 @@
6767

6868
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.811285626" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
6969

70-
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/liboauth2/include}&quot;"/>
71-
70+
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/liboauth2/include}&quot;"/>
7271
<listOptionValue builtIn="false" value="/usr/local/include"/>
73-
74-
<listOptionValue builtIn="false" value="/opt/local/include"/>
75-
76-
<listOptionValue builtIn="false" value="/Users/hzandbelt/projects/nginx/src/core"/>
77-
78-
<listOptionValue builtIn="false" value="/Users/hzandbelt/projects/nginx/src/http"/>
79-
72+
<listOptionValue builtIn="false" value="/opt/homebrew/include"/>
73+
<listOptionValue builtIn="false" value="/Users/hzandbelt/projects/nginx/src/core"/>
74+
<listOptionValue builtIn="false" value="/Users/hzandbelt/projects/nginx/src/http"/>
75+
<listOptionValue builtIn="false" value="/Users/hzandbelt/projects/nginx/src/os/unix"/>
76+
<listOptionValue builtIn="false" value="/Users/hzandbelt/projects/nginx/src/event"/>
77+
<listOptionValue builtIn="false" value="/Users/hzandbelt/projects/nginx/src/http/modules"/>
78+
<listOptionValue builtIn="false" value="/Users/hzandbelt/projects/nginx/src/http/v2"/>
79+
<listOptionValue builtIn="false" value="/Users/hzandbelt/projects/nginx/objs"/>
80+
<listOptionValue builtIn="false" value="/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/"/>
8081
</option>
8182

8283
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1754841162" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
06/02/2024
2+
- don't include standard headers before NGINX headers; see OpenIDC/ngx_sts_module#2
3+
avoid compilation error with NGINX 1.26.0: field 'pkt6' has incomplete type
4+
15
03/08/2023
26
- move repo to OpenIDC github organization
37

src/ngx_openidc_module.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
*
2020
**************************************************************************/
2121

22-
#include <stdlib.h>
23-
2422
#include <nginx.h>
2523
#include <ngx_config.h>
2624
#include <ngx_core.h>

0 commit comments

Comments
 (0)