From 1bacc584e33d286f7d48d0c7359db0c7e74f42e1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 4 Dec 2003 05:11:56 +0000 Subject: [PATCH] Portability fixes. --- dlls/x11drv/clipboard.c | 1 + dlls/x11drv/xdnd.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/x11drv/clipboard.c b/dlls/x11drv/clipboard.c index 2f6a1ceb518..ea16a597cc0 100644 --- a/dlls/x11drv/clipboard.c +++ b/dlls/x11drv/clipboard.c @@ -62,6 +62,7 @@ */ #include "config.h" +#include "wine/port.h" #include #include diff --git a/dlls/x11drv/xdnd.c b/dlls/x11drv/xdnd.c index c6309fda594..52ade4ca09d 100644 --- a/dlls/x11drv/xdnd.c +++ b/dlls/x11drv/xdnd.c @@ -19,6 +19,7 @@ */ #include "config.h" +#include "wine/port.h" #include #ifdef HAVE_UNISTD_H @@ -195,7 +196,7 @@ int X11DRV_XDND_Event(HWND hWnd, XClientMessageEvent *event) X11DRV_XDND_FreeDragDropOp(); /* Tell the target we are finished. */ - bzero(&e, sizeof(e)); + memset(&e, 0, sizeof(e)); e.type = ClientMessage; e.display = event->display; e.window = event->data.l[0];