Skip to content

Commit d5fe42f

Browse files
committed
update if u_char not defined, define it as unsigned char
1 parent 0257ef8 commit d5fe42f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ngx_link_func_module.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949
#define ngx_link_func_content_type_jsonp "application/javascript"
5050
#define ngx_link_func_content_type_xformencoded "application/x-www-form-urlencoded"
5151

52-
52+
#ifndef u_char
53+
typedef unsigned char u_char;
54+
#endif
5355

5456
typedef struct {
5557
char *req_args; // Uri Args

0 commit comments

Comments
 (0)