Skip to content
Permalink
Browse files

Fix name collision 'answer' eggdrop:module.h vs. dietlibc:resolv.h. F…

…ixes #667

Found by: michaelortmann
Patch by: michaelortmann
  • Loading branch information...
michaelortmann authored and vanosg committed Aug 18, 2019
1 parent 9c965bd commit cd32a4fe65640a86615f07cde764f54faf9c8325
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/mod/dns.mod/coredns.c
@@ -38,6 +38,8 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#undef answer /* before resolv.h because it could collide with src/mod/module.h
(dietlibc) */
#include <resolv.h>
#include <errno.h>

0 comments on commit cd32a4f

Please sign in to comment.
You can’t perform that action at this time.