#include <time.h>
#include <sys/time.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef TIMESPEC_TO_TIMEVAL
/* should be in sys/time.h on BSD & Linux libcs */
#define TIMESPEC_TO_TIMEVAL(tv, ts) \
return ctime(&tbuf);
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _FRR_MONOTIME_H */