aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index f00e709f7..1f04b5b55 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -520,6 +520,8 @@ SPARSE_FLAGS =
SPARSE_CPPFLAGS = $(DEFAULT_INCLUDES) \
-I$(shell $(CC) -print-file-name=include) \
-I$(shell $(CC) -print-file-name=include-fixed)
+SPARSE_CPPFLAGS += -D__SCHAR_MAX__=127 -D__SHRT_MAX__=32767 \
+ -D__INT_MAX__=2147483647 -D__LONG_MAX__=2147483647
sparse-check:
for i in $(src_mpd_SOURCES); \
do \