Make Xephyr build on Solaris:

Add #include <sys/file.h> on Solaris for FNONBLOCK/FASYNC definitions
hw/kdriver/linux/Makefile.am Move agp.c & agp.h to KDRIVE_HW_SOURCES since
    they're not needed for Xephyr-only builds
Add -lrt to XEPHYR_LIBS if needed to get nanosleep().
This commit is contained in:
Alan Coopersmith
2006-05-03 23:45:16 +00:00
parent fc91ca069d
commit b46d6a44fa
4 changed files with 23 additions and 2 deletions

View File

@@ -37,6 +37,9 @@
#include "kkeymap.h"
#include <signal.h>
#include <stdio.h>
#ifdef sun
#include <sys/file.h> /* needed for FNONBLOCK & FASYNC */
#endif
#ifdef XKB
#include <X11/extensions/XKBsrv.h>