Commit 51e6c0cc authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

MSVC compatibility fixes.

parent 9aa27b1d
......@@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#include "winbase.h"
#include "winreg.h"
......
......@@ -23,6 +23,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#include <time.h>
......
......@@ -20,6 +20,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <ctype.h>
#include <errno.h>
......
......@@ -301,7 +301,7 @@ typedef struct joycalibrate_tag {
typedef JOYCALIBRATE *LPJOYCALIBRATE;
/* prototype for joystick message function */
typedef UINT CALLBACK (JOYDEVMSGPROC)(DWORD dwID, UINT uMessage, LPARAM lParam1, LPARAM lParam2);
typedef UINT (CALLBACK * JOYDEVMSGPROC)(DWORD dwID, UINT uMessage, LPARAM lParam1, LPARAM lParam2);
typedef JOYDEVMSGPROC *LPJOYDEVMSGPROC;
/* messages sent to joystick driver's DriverProc() function */
......
......@@ -23,6 +23,7 @@
#include <assert.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
......
......@@ -26,6 +26,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdio.h>
......
......@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#ifdef HAVE_UNISTD_H
......
......@@ -19,9 +19,11 @@
*/
#include "config.h"
#include "wine/port.h"
#include <fcntl.h>
#include <memory.h>
#include <stdio.h>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
......
......@@ -87,6 +87,7 @@ static void set_dll_file_name( const char *name )
{
char *p;
if ((p = strrchr( name, '\\' ))) name = p + 1;
if ((p = strrchr( name, '/' ))) name = p + 1;
strcpy( DLLFileName, name );
if ((p = strrchr( DLLFileName, '.' )) && !strcmp( p, ".spec" )) *p = 0;
......
......@@ -22,6 +22,7 @@
at a later date. */
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <string.h>
......
......@@ -29,6 +29,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <sys/types.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