2000-05-29 18:52:17 -04:00
|
|
|
#ifndef __INET_NTOA_R_H
|
|
|
|
#define __INET_NTOA_R_H
|
2005-03-15 16:00:46 -05:00
|
|
|
|
|
|
|
#include "setup.h"
|
|
|
|
|
|
|
|
#ifdef HAVE_INET_NTOA_R_2_ARGS
|
|
|
|
/*
|
|
|
|
* uClibc 0.9.26 (at least) doesn't define this prototype. The buffer
|
|
|
|
* must be at least 16 characters long.
|
|
|
|
*/
|
|
|
|
char *inet_ntoa_r(const struct in_addr in, char buffer[]);
|
|
|
|
|
|
|
|
#else
|
2000-05-29 18:52:17 -04:00
|
|
|
/*
|
|
|
|
* My solaris 5.6 system running gcc 2.8.1 does *not* have this prototype
|
|
|
|
* in any system include file! Isn't that weird?
|
|
|
|
*/
|
|
|
|
char *inet_ntoa_r(const struct in_addr in, char *buffer, int buflen);
|
|
|
|
|
|
|
|
#endif
|
2005-03-15 16:00:46 -05:00
|
|
|
|
|
|
|
#endif
|