Commit 1bacc584 authored by Alexandre Julliard's avatar Alexandre Julliard

Portability fixes.

parent 0e04023b
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
*/ */
#include "config.h" #include "config.h"
#include "wine/port.h"
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
*/ */
#include "config.h" #include "config.h"
#include "wine/port.h"
#include <string.h> #include <string.h>
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
...@@ -195,7 +196,7 @@ int X11DRV_XDND_Event(HWND hWnd, XClientMessageEvent *event) ...@@ -195,7 +196,7 @@ int X11DRV_XDND_Event(HWND hWnd, XClientMessageEvent *event)
X11DRV_XDND_FreeDragDropOp(); X11DRV_XDND_FreeDragDropOp();
/* Tell the target we are finished. */ /* Tell the target we are finished. */
bzero(&e, sizeof(e)); memset(&e, 0, sizeof(e));
e.type = ClientMessage; e.type = ClientMessage;
e.display = event->display; e.display = event->display;
e.window = event->data.l[0]; e.window = event->data.l[0];
......
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