hw/xwin: Remove unused X includes from internal.h and add them where needed
Also removing server headers we might clash with and no longer need. Make a few adjustments to allow for this change: - provide a prototype of ErrorF() - use the MAX() macro provided by sys/param.h, not the max() macro provided by misc.h - use the X 'Bool' type rather than the unwrapped Windows 'BOOL' type Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
@@ -37,8 +37,9 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "misc.h"
|
||||
#include "winclipboard.h"
|
||||
|
||||
/*
|
||||
@@ -499,7 +500,7 @@ winClipboardWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
* Process any pending Windows messages
|
||||
*/
|
||||
|
||||
BOOL
|
||||
Bool
|
||||
winClipboardFlushWindowsMessageQueue(HWND hwnd)
|
||||
{
|
||||
MSG msg;
|
||||
|
||||
Reference in New Issue
Block a user