Commit 664c2727 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Some Solaris fixes. <resolv.h> needs <arpa/nameser.h>, sig_context.h

needs to define HANDLER_CONTEXT, wctype.h does not like 'wsprintf' defined, msdos/dpmi.c needs "stackframe.h" too, and multimedia/dsound.c needs "winuser.h".
parent 8da55cef
...@@ -3677,7 +3677,7 @@ else ...@@ -3677,7 +3677,7 @@ else
fi fi
done done
for ac_hdr in wctype.h sys/syscall.h syscall.h sys/param.h sys/vfs.h sys/mount.h sys/statfs.h float.h linux/cdrom.h linux/ucdrom.h sys/cdio.h sys/filio.h sys/modem.h strings.h sys/strtio.h dlfcn.h unistd.h sys/sockio.h net/if.h netinet/in.h sys/file.h libio.h curses.h ncurses.h elf.h resolv.h for ac_hdr in wctype.h sys/syscall.h syscall.h sys/param.h sys/vfs.h sys/mount.h sys/statfs.h float.h linux/cdrom.h linux/ucdrom.h sys/cdio.h sys/filio.h sys/modem.h strings.h sys/strtio.h dlfcn.h unistd.h sys/sockio.h net/if.h netinet/in.h sys/file.h libio.h curses.h ncurses.h elf.h arpa/nameser.h resolv.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
......
...@@ -385,7 +385,7 @@ fi ...@@ -385,7 +385,7 @@ fi
dnl **** Check for functions and header files **** dnl **** Check for functions and header files ****
AC_CHECK_FUNCS(clone getpagesize memmove sendmsg sigaltstack strerror stricmp tcgetattr timegm usleep wait4 waitpid vfscanf) AC_CHECK_FUNCS(clone getpagesize memmove sendmsg sigaltstack strerror stricmp tcgetattr timegm usleep wait4 waitpid vfscanf)
AC_CHECK_HEADERS(wctype.h sys/syscall.h syscall.h sys/param.h sys/vfs.h sys/mount.h sys/statfs.h float.h linux/cdrom.h linux/ucdrom.h sys/cdio.h sys/filio.h sys/modem.h strings.h sys/strtio.h dlfcn.h unistd.h sys/sockio.h net/if.h netinet/in.h sys/file.h libio.h curses.h ncurses.h elf.h resolv.h) AC_CHECK_HEADERS(wctype.h sys/syscall.h syscall.h sys/param.h sys/vfs.h sys/mount.h sys/statfs.h float.h linux/cdrom.h linux/ucdrom.h sys/cdio.h sys/filio.h sys/modem.h strings.h sys/strtio.h dlfcn.h unistd.h sys/sockio.h net/if.h netinet/in.h sys/file.h libio.h curses.h ncurses.h elf.h arpa/nameser.h resolv.h)
AC_HEADER_STAT() AC_HEADER_STAT()
AC_C_CONST() AC_C_CONST()
AC_TYPE_SIZE_T() AC_TYPE_SIZE_T()
......
...@@ -153,6 +153,9 @@ ...@@ -153,6 +153,9 @@
/* Define if you have the <X11/xpm.h> header file. */ /* Define if you have the <X11/xpm.h> header file. */
#undef HAVE_X11_XPM_H #undef HAVE_X11_XPM_H
/* Define if you have the <arpa/nameser.h> header file. */
#undef HAVE_ARPA_NAMESER_H
/* Define if you have the <curses.h> header file. */ /* Define if you have the <curses.h> header file. */
#undef HAVE_CURSES_H #undef HAVE_CURSES_H
......
...@@ -273,6 +273,7 @@ typedef struct _CONTEXT /* Note 1 */ ...@@ -273,6 +273,7 @@ typedef struct _CONTEXT /* Note 1 */
#ifndef __HAVE_SIGCONTEXT #ifndef __HAVE_SIGCONTEXT
/* empty entry for non x86 architectures mostly. */ /* empty entry for non x86 architectures mostly. */
typedef DWORD SIGCONTEXT; typedef DWORD SIGCONTEXT;
#define HANDLER_CONTEXT 0
#endif #endif
#endif /* __WINE_SIG_CONTEXT_H */ #endif /* __WINE_SIG_CONTEXT_H */
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
#define __WINE_WINNLS_H #define __WINE_WINNLS_H
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
/* Sun Bug Workaround */
#ifdef __WINE__
# undef wsprintf
#endif
#include <wctype.h> /* needed for towupper */ #include <wctype.h> /* needed for towupper */
#endif #endif
#include "wintypes.h" #include "wintypes.h"
......
...@@ -44,6 +44,9 @@ ...@@ -44,6 +44,9 @@
#include <netdb.h> #include <netdb.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif
#ifdef HAVE_RESOLV_H #ifdef HAVE_RESOLV_H
# include <resolv.h> # include <resolv.h>
#endif #endif
......
...@@ -37,6 +37,9 @@ ...@@ -37,6 +37,9 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <netdb.h> #include <netdb.h>
#ifdef HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif
#ifdef HAVE_RESOLV_H #ifdef HAVE_RESOLV_H
# include <resolv.h> # include <resolv.h>
#endif #endif
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
#include <string.h> #include <string.h>
#include <math.h> /* Insomnia - pow() function */ #include <math.h> /* Insomnia - pow() function */
#include "dsound.h" #include "dsound.h"
#include "winuser.h"
#include "winerror.h" #include "winerror.h"
#include "multimedia.h" #include "multimedia.h"
#include "wine/obj_base.h" #include "wine/obj_base.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment