Skip to content

Commit

Permalink
fix the undefined "MAX" problem
Browse files Browse the repository at this point in the history
both uclibc and musl libc defines the MAX macro in sys/param.h
  • Loading branch information
mysqto committed Jun 27, 2015
1 parent df38bea commit 33b8fc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/chinadns.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/param.h>

#include "config.h"

Expand Down

0 comments on commit 33b8fc4

Please sign in to comment.