2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 21:53:32 +00:00
nixpkgs/pkgs/applications/audio/lash/socket.patch
Cillian de Roiste b3e902c1a9 Adding lash, session management system for GNU/Linux audio applications
svn path=/nixpkgs/trunk/; revision=26926
2011-04-23 00:22:40 +00:00

17 lines
407 B
Diff

Via http://bugs.gentoo.org/show_bug.cgi?id=229603
--- lash-0.5.4/liblash/socket.c 2008-06-26 15:20:44.227064193 +0200
+++ lash-0.5.4/liblash/socket.c 2008-06-26 15:21:18.245063129 +0200
@@ -20,6 +20,11 @@
#define _POSIX_SOURCE /* addrinfo */
+#ifdef LASH_BUILD
+#define _GNU_SOURCE
+#include "config.h"
+#endif /* LASH_BUILD */
+
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>