From 3870a66c8f023c2a6e19aa1fb17bd2b67a070a50 Mon Sep 17 00:00:00 2001 From: Bjarne von Horn Date: Fri, 16 Feb 2024 14:06:23 +0100 Subject: [PATCH] Fix rtdm rtai redefinition error --- master/rtdm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/master/rtdm.c b/master/rtdm.c index 1a335fe2..0112e1a7 100644 --- a/master/rtdm.c +++ b/master/rtdm.c @@ -28,13 +28,15 @@ #include #include -#include #include "master.h" #include "ioctl.h" #include "rtdm.h" #include "rtdm_details.h" +/* include last because it does some redefinitions */ +#include + /** Set to 1 to enable device operations debugging. */ #define DEBUG 0