X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=acconfig.h;h=ebfa2da19fa1396884e85f8c7deb65a30f7e307f;hp=590cc87cc0d5bcbfed99456fadc1eddc0bbbafb6;hb=fa4bbfb479b647a80bf40eb7469ac16b34016499;hpb=945be3cc1ae0f7739a3d28722d07f7d17b2690bf;ds=sidebyside diff --git a/acconfig.h b/acconfig.h index 590cc87..ebfa2da 100644 --- a/acconfig.h +++ b/acconfig.h @@ -94,4 +94,14 @@ extern void live_disable(int how); #endif /* STACKCHECK */ +#ifdef USE_UNIX98PTYS +# define _XOPEN_SOURCE 500 +#endif +#define _BSD_SOURCE 1 +#include +extern void usleep_watchdevice(unsigned long usecs); +#define usleep(usecs) usleep_watchdevice((usecs)) +#define sleep(secs) usleep((secs)*1000000) + + #endif /* __CONFIG_H__ */