浏览代码

Added include for usleep.

Brucey 5 年之前
父节点
当前提交
f4babe8658
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      blitz.mod/blitz_app.h

+ 1 - 0
blitz.mod/blitz_app.h

@@ -34,6 +34,7 @@ int		bbMilliSecs();
 int		bbIsMainThread();
 #if __STDC_VERSION__ >= 199901L
 #ifndef _WIN32
+#include <unistd.h>
 inline void bbUDelay( int microseconds ) {
 	if( microseconds<0 ) return;
 	usleep( microseconds );