]> granicus.if.org Git - transmission/commitdiff
(libT) add '#include errno.h' to announcer-udp.c to ensure errno is declared
authorJordan Lee <jordan@transmissionbt.com>
Mon, 4 Feb 2013 20:46:16 +0000 (20:46 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Mon, 4 Feb 2013 20:46:16 +0000 (20:46 +0000)
libtransmission/announcer-udp.c

index d9b106fb74b8a610e290397e7f95cac31efeba1e..d83fc62a99050553d801912e4ad112fdcfb19266 100644 (file)
@@ -12,6 +12,7 @@
 
 #define __LIBTRANSMISSION_ANNOUNCER_MODULE___
 
+#include <errno.h> /* errno, EAFNOSUPPORT */
 #include <string.h> /* memcpy (), memset () */
 
 #include <event2/buffer.h>