blob: f84fd571c89dd8dce17263555836e19974fe58ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- src/rtapi/rtapi_parport.h.orig 2016-06-25 02:19:12 UTC
+++ src/rtapi/rtapi_parport.h
@@ -16,6 +16,8 @@
#ifndef RTAPI_PARPORT_H
#define RTAPI_PARPORT_H
+#ifdef __linux__
+
#include <rtapi.h>
#include <rtapi_io.h>
#include <linux/parport.h>
@@ -239,3 +241,4 @@ void rtapi_parport_release(rtapi_parport
RTAPI_END_DECLS
#endif
+#endif /* __linux__ */
|