mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 20:12:37 +01:00
json: Set defines before including shared/jsmn.h
This commit is contained in:
parent
d4da6b5bec
commit
4ffcde8125
@ -588,8 +588,7 @@ EXTRA_DIST = src/genbuiltin src/iwd.service.in src/net.connman.iwd.service \
|
||||
|
||||
AM_CFLAGS = $(ell_cflags) -fvisibility=hidden \
|
||||
-DUNITDIR=\""$(top_srcdir)/unit/"\" \
|
||||
-DCERTDIR=\""$(top_builddir)/unit/"\" \
|
||||
-DJSMN_PARENT_LINKS -DJSMN_STRICT
|
||||
-DCERTDIR=\""$(top_builddir)/unit/"\"
|
||||
|
||||
if MAINTAINER_MODE
|
||||
AM_CFLAGS += -DHAVE_PKCS8_SUPPORT
|
||||
|
@ -30,6 +30,9 @@
|
||||
|
||||
#include "src/json.h"
|
||||
|
||||
#define JSMN_STATIC
|
||||
#define JSMN_STRICT
|
||||
#define JSMN_PARENT_LINKS
|
||||
#include "shared/jsmn.h"
|
||||
|
||||
/* Max number of tokens supported. Increase if larger objects are expected */
|
||||
|
Loading…
Reference in New Issue
Block a user