Skip to content

Commit

Permalink
define _DEFAULT_SOURCE to prevent glibc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
daurnimator committed Jun 16, 2018
1 parent 1192853 commit 101e032
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
#define _XOPEN_SOURCE 600
#endif

#undef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE

#undef _BSD_SOURCE
#define _BSD_SOURCE

Expand Down

2 comments on commit 101e032

@CarloWood
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the same commit shortly after forking from wahern.
If I was to fork from you (since you seem to have been more recently active), what branch should I fork?

@daurnimator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I was to fork from you (since you seem to have been more recently active), what branch should I fork?

Probably 'fixes-from-cqueues' which was created for the vendored dependency in wahern/cqueues#200

Please sign in to comment.