summaryrefslogtreecommitdiffstats
path: root/rules/mpg123.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/mpg123.make')
-rw-r--r--rules/mpg123.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/mpg123.make b/rules/mpg123.make
index 536d029f2..059c3f663 100644
--- a/rules/mpg123.make
+++ b/rules/mpg123.make
@@ -41,6 +41,10 @@ MPG123_CONF_OPT := \
--with-audio=alsa\
--with-default-audio=alsa\
--enable-modules=no
+
+# needed when compiling without IPv6
+MPG123_CPPFLAGS := -D_GNU_SOURCE
+
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------