Add missing limits.h include from ares_getaddrinfo.c (#267)

This files references INT_MAX, but does not include limits.h. This can
cause a build failure on some platforms. Include limits.h if we have it.

Fix-by: Dan Noé <dpn@google.com>
pull/269/head
Dan Noé 5 years ago committed by Brad House
parent d7e070e728
commit 33ed2aa6d1
  1. 4
      ares_getaddrinfo.c

@ -48,6 +48,10 @@
#endif
#include <assert.h>
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#include "ares.h"
#include "bitncmp.h"
#include "ares_private.h"

Loading…
Cancel
Save