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) dnl check to see if we need -lsocket (solaris)
AC_CHECK_LIB(dl,dlsym)
V_NETLIBS="" V_NETLIBS=""
AC_CHECK_LIB(socket,socket,V_NETLIBS="-lsocket $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; typedef unsigned short mDNSu16;
#include <sys/types.h> #include <sys/types.h>
typedef int32_t mDNSs32; typedef int32_t mDNSs32;
#ifndef u_int32_t
# define u_int32_t uint32_t
#endif
typedef u_int32_t mDNSu32; typedef u_int32_t mDNSu32;
// To enforce useful type checking, we make mDNSInterfaceID be a pointer to a dummy struct // To enforce useful type checking, we make mDNSInterfaceID be a pointer to a dummy struct

View File

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