aboutsummaryrefslogtreecommitdiff
path: root/audio/pianobar/files/patch-waitress.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/pianobar/files/patch-waitress.c')
-rw-r--r--audio/pianobar/files/patch-waitress.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/pianobar/files/patch-waitress.c b/audio/pianobar/files/patch-waitress.c
new file mode 100644
index 000000000000..87a2d8c38f65
--- /dev/null
+++ b/audio/pianobar/files/patch-waitress.c
@@ -0,0 +1,12 @@
+--- libwaitress/src/waitress.c.orig 2010-10-07 01:54:32.000000000 -0700
++++ libwaitress/src/waitress.c 2010-10-08 14:51:41.000000000 -0700
+@@ -21,9 +21,6 @@
+ THE SOFTWARE.
+ */
+
+-#define _POSIX_C_SOURCE 1 /* required by getaddrinfo() */
+-#define _BSD_SOURCE /* snprintf() */
+-
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netdb.h>