mirror of
https://github.com/X11Libre/xf86-video-xgi.git
synced 2026-03-24 01:24:35 +00:00
Include <unistd.h> for usleep(3)
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
@@ -981,6 +981,7 @@ int compute_vclk(int Clock, int *out_n, int *out_dn, int *out_div,
|
||||
void XGI_WaitBeginRetrace(XGIIOADDRESS RelIO);
|
||||
void XGI_WaitEndRetrace(XGIIOADDRESS RelIO);
|
||||
|
||||
#include <unistd.h>
|
||||
/* 2005/11/21 added by jjtseng */
|
||||
#define DelayS(sec) usleep((sec)*1000000)
|
||||
#define DelayMS(millisec) usleep((millisec)*1000)
|
||||
|
||||
Reference in New Issue
Block a user