summaryrefslogtreecommitdiff
path: root/driver_tsip.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver_tsip.c')
-rw-r--r--driver_tsip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver_tsip.c b/driver_tsip.c
index c87a1064..34a53e83 100644
--- a/driver_tsip.c
+++ b/driver_tsip.c
@@ -16,6 +16,8 @@
/* if we insist on C99, then we need this to get M_LN2 from math.h */
/* 500 mean X/Open 1995 */
#define _XOPEN_SOURCE 500
+/* round() needs _POSIX_C_SOURCE >= 200112L */
+#define _POSIX_C_SOURCE 200112L
#include <sys/time.h> /* for select() */
#include <string.h>