Skip to content

Commit 94bf594

Browse files
committed
Include unistd.h for usleep()
Fixes build on FreeBSD
1 parent 1e0a902 commit 94bf594

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ extern bool GLContextDebugBit;
1111

1212
#include <stdio.h>
1313
#include <stdlib.h>
14+
#include <unistd.h>
1415
#include <sys/utsname.h>
1516
#include <time.h>
1617
#include "IEventReceiver.h"

0 commit comments

Comments
 (0)