Fix linux build without libc wrappers (From Fredrik Höglund)
This commit is contained in:
@@ -78,14 +78,16 @@ fbdevhwSetup(pointer module, pointer opts, int *errmaj, int *errmin)
|
||||
return (pointer)1;
|
||||
}
|
||||
}
|
||||
|
||||
#else /* XFree86LOADER */
|
||||
#endif /* XFree86LOADER */
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#endif /* XFree86LOADER */
|
||||
#include <sys/ioctl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/* our private data, and two functions to allocate/free this */
|
||||
|
||||
Reference in New Issue
Block a user