#include the local "inet_ntoa_r.h" file if no proto was found in the global

header directory but the function *is* present!
This commit is contained in:
Daniel Stenberg 2002-01-04 09:35:23 +00:00
parent 17a8bf212f
commit ae9bf16dee
1 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,10 @@
#include "ssluse.h"
#include "connect.h"
#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)
#include "inet_ntoa_r.h"
#endif
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>