Commit f4228b93 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

task: fix includes for tsc

parent 4e9e0302
......@@ -26,8 +26,6 @@
#include <stdio.h>
#include <stdint.h>
#include <villas/tsc.h>
#include <time.h>
#ifdef __cplusplus
......@@ -49,6 +47,10 @@ extern "C" {
#error "Platform not supported"
#endif
#if PERIODIC_TASK_IMPL == RDTSC
#include <villas/tsc.h>
#endif
struct task {
int clock; /**< CLOCK_{MONOTONIC,REALTIME} */
......
......@@ -30,8 +30,6 @@
#if PERIODIC_TASK_IMPL == TIMERFD
#include <sys/timerfd.h>
#elif PERIODIC_TASK_IMPL == RDTSC
#include <villas/tsc.h>
#endif
int task_init(struct task *t, double rate, int clock)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment