hw/xwin: Remove standard includes from internal.h and add them where needed
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
5992550c4c
commit
52f3cf3c61
@ -32,20 +32,6 @@
|
|||||||
#ifndef WINCLIPBOARD_INTERNAL_H
|
#ifndef WINCLIPBOARD_INTERNAL_H
|
||||||
#define WINCLIPBOARD_INTERNAL_H
|
#define WINCLIPBOARD_INTERNAL_H
|
||||||
|
|
||||||
/* Standard library headers */
|
|
||||||
#include <assert.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#ifdef __CYGWIN__
|
|
||||||
#include <sys/select.h>
|
|
||||||
#else
|
|
||||||
#include <X11/Xwinsock.h>
|
|
||||||
#endif
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <setjmp.h>
|
|
||||||
#include <pthread.h>
|
|
||||||
|
|
||||||
/* X headers */
|
/* X headers */
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
|
@ -36,10 +36,15 @@
|
|||||||
#define HAS_WINSOCK 1
|
#define HAS_WINSOCK 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <assert.h>
|
||||||
#include <signal.h>
|
#include <unistd.h>
|
||||||
#include "windisplay.h"
|
#include <fcntl.h>
|
||||||
#ifdef __CYGWIN__
|
#include <setjmp.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
|
||||||
|
#ifdef HAS_WINSOCK
|
||||||
|
#include <X11/Xwinsock.h>
|
||||||
|
#else
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user