QUSIR / staff

Automatically exported from code.google.com/p/staff
Apache License 2.0
0 stars 0 forks source link

usleep undefined in Thread.cpp #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. checkout staff-read-only
2. make
3. error reports:

src/Thread.cpp: In static member function ‘static void 
staff::Thread::Sleep(long unsigned int)’:
src/Thread.cpp:297:28: error: ‘usleep’ was not declared in this scope

What is the expected output? What do you see instead?
expected clean build

What version of the product are you using? On what operating system?

LIBRARY_VERSION=1.99.1
PACKAGE_VERSION=2.0.0-a1

Fedora 17, kernel 3.5.3-1.fc17.x86_64 

Please provide any additional information below.

I simply added line 25 to fix this:

25 #include <unistd.h>

Original issue reported on code.google.com by charlesf...@gmail.com on 23 Sep 2012 at 11:56

GoogleCodeExporter commented 9 years ago
Thank you for the report. 

Will fix this issue shortly.

Original comment by loentar on 24 Sep 2012 at 6:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r713.

Original comment by loentar on 24 Sep 2012 at 6:11