fixing usleep unistd include

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hilnius 2013-08-29 17:59:56 +00:00
parent 71fb252654
commit 50db118a91

View File

@ -27,6 +27,7 @@
#else
# include <stdint.h>
# include <sys/time.h>
# include <unistd.h>
#endif
#include <string>
@ -86,9 +87,9 @@ public:
{
return irr_driver->getDevice()->getTimer()->getRealTime()/1000.0;
}; // getTimeSinceEpoch
// ------------------------------------------------------------------------
/**
/**
* \brief Compare two different times.
* \return A signed integral indicating the relation between the time.
*/
@ -117,7 +118,7 @@ public:
#endif
} // sleep
// ------------------------------------------------------------------------
/**
/**
* \brief Add a interval to a time.
*/
static TimeType addInterval(TimeType time, int year, int month, int day) {