/* Define to 1 if you have the <sys/capability.h> header file. */
#undef HAVE_CAPABILITY_H
+/* Define to 1 if you have the `clock_gettime' function. */
+#undef HAVE_CLOCK_GETTIME
+
/* Define to 1 if you have the `closefrom' function. */
#undef HAVE_CLOSEFROM
/* Define to 1 if you have the <fnmatch.h> header file. */
#undef HAVE_FNMATCH_H
+/* Define to 1 if you have the `fopencookie' function. */
+#undef HAVE_FOPENCOOKIE
+
+/* Define to 1 if you have the `funopen' function. */
+#undef HAVE_FUNOPEN
+
/* Define to 1 if you have the `getaddrinfo' function. */
#undef HAVE_GETADDRINFO
/* Define if the function (or macro) htonlll exists. */
#undef HAVE_HTONLLL
+/* Define to 1 if you have the `if_indextoname' function. */
+#undef HAVE_IF_INDEXTONAME
+
/* define if you have IN6_PKTINFO (Linux) */
#undef HAVE_IN6_PKTINFO
/* Define to 1 if you have the <utmp.h> header file. */
#undef HAVE_UTMP_H
+/* Define to 1 if you have the `vdprintf' function. */
+#undef HAVE_VDPRINTF
+
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
struct tm *gmtime_r(time_t const *l_clock, struct tm *result);
#endif
+#ifndef HAVE_VDPRINTF
+int vdprintf (int fd, const char format, va_list args);
+#endif
+
#ifndef HAVE_GETTIMEOFDAY
int gettimeofday (struct timeval *tv, void *tz);
#endif
}
#endif
+#ifndef HAVE_VDPRINTF
+int vdprintf (int fd, const char format, va_list args)
+{
+ int ret;
+ FILE *fp;
+
+ fp = fdopen(fd, "w");
+ if (!fp) return -1;
+
+ ret = vfprintf(fp, format, args);
+ fclose(fp);
+
+ return ret;
+}
+#endif
+
#ifndef HAVE_GETTIMEOFDAY
#ifdef WIN32
/*