revert u_int32_t changes for solaris -- must autoconfiscate, fixups for debian

This commit is contained in:
Ron Pedde 2006-04-28 05:10:06 +00:00
parent df264d56da
commit 4a1609cb2d
3 changed files with 4 additions and 3 deletions

View File

@ -369,6 +369,8 @@ AC_CHECK_FUNCS(select socket strdup strerror)
dnl check to see if we need -lsocket (solaris)
AC_CHECK_LIB(dl,dlsym)
V_NETLIBS=""
AC_CHECK_LIB(socket,socket,V_NETLIBS="-lsocket $V_NETLIBS",,)

View File

@ -534,9 +534,6 @@ typedef signed short mDNSs16;
typedef unsigned short mDNSu16;
#include <sys/types.h>
typedef int32_t mDNSs32;
#ifndef u_int32_t
# define u_int32_t uint32_t
#endif
typedef u_int32_t mDNSu32;
// To enforce useful type checking, we make mDNSInterfaceID be a pointer to a dummy struct

View File

@ -23,6 +23,8 @@
#include "config.h"
#endif
#define _XOPEN_SOURCE 500 /** unix98? pthread_once_t, etc */
#include <errno.h>
#include <pthread.h>
#include <regex.h>