master
Gerolf Ziegenhain 7 years ago
parent 15ab7fbbcc
commit 57f6c84f88

@ -17,6 +17,7 @@
#include <time.h>
#include <sys/time.h>
#include <arpa/inet.h>
#include <unistd.h> // for usleep()
// Detect OSX
@ -97,7 +98,8 @@ void *get_in_addr(struct sockaddr *sa)
void msleep(int d){
void msleep(int d)
{
usleep(d*1000);
}

@ -1,5 +1,5 @@
void current_utc_time(struct timespec *ts);
long fastclock(void);
int kbhit (void);
void *get_in_addr(struct sockaddr *sa);
void msleep(int d);
void *get_in_addr(struct sockaddr *sa);

Loading…
Cancel
Save