summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/fa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/unicast/fa.c')
-rw-r--r--src/ipcpd/unicast/fa.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ipcpd/unicast/fa.c b/src/ipcpd/unicast/fa.c
index 71351d5a..14303a21 100644
--- a/src/ipcpd/unicast/fa.c
+++ b/src/ipcpd/unicast/fa.c
@@ -24,6 +24,7 @@
#define _DEFAULT_SOURCE
#else
#define _POSIX_C_SOURCE 200112L
+#define __XSI_VISIBLE 500
#endif
#include "config.h"
@@ -51,6 +52,10 @@
#include <stdlib.h>
#include <string.h>
+#if defined (IPCP_FLOW_STATS) && !defined(CLOCK_REALTIME_COARSE)
+#define CLOCK_REALTIME_COARSE CLOCK_REALTIME
+#endif
+
#define TIMEOUT 10000 /* nanoseconds */
#define FLOW_REQ 0