packages/multimedia/crtmpserver/patches/050-add-missing-make-defines.patch
florian 977de77cc1 crtmpsever: add missing unistd.h inclusion for sysconf()
We were failing the build w/ GCC 4.8 on the sysconf() prototype due to a
missing include of unistd.h

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 16:52:13 +00:00

21 lines
435 B
Diff

--- a/builders/make/compile.mk
+++ b/builders/make/compile.mk
@@ -43,10 +43,16 @@ FEATURES_DEFINES = \
-DHAS_PROTOCOL_RTP \
-DHAS_PROTOCOL_TS \
-DHAS_PROTOCOL_VAR \
+ -DHAS_PROTOCOL_CLI \
+ -DHAS_PROTOCOL_HLS \
+ -DHAS_PROTOCOL_RAWHTTPSTREAM \
-DHAS_LUA \
-DHAS_MEDIA_MP3 \
-DHAS_MEDIA_MP4 \
- -DHAS_MEDIA_FLV
+ -DHAS_MEDIA_FLV \
+ -DHAS_MEDIA_NSV \
+ -DHAS_SYSLOG
+
DEFINES = $(PLATFORM_DEFINES) $(FEATURES_DEFINES)