cwdaemon/cwdaemon-examples-fix.patch
2016-02-04 23:01:43 +01:00

10 lines
330 B
Diff

--- cwdaemon-0.10.2/examples/example.c 2015-09-27 15:07:53.000000000 +0200
+++ cwdaemon-0.10.2-mod/examples/example.c 2016-02-04 21:46:10.143673758 +0100
@@ -29,6 +29,7 @@
* Usage: 'example' or 'example <portname>'
*/
+#define _XOPEN_SOURCE 600
#define _POSIX_SOURCE /* getaddrinfo() and friends. */
#include <stdlib.h>