To keep the namespace as clean as possible for the applications
don't include standard header files.

diff --git a/include/psos/psos.h b/include/psos/psos.h
--- a/include/psos/psos.h
+++ b/include/psos/psos.h
@@ -24,7 +24,7 @@
 #ifndef _XENOMAI_PSOS_PSOS_H
 #define _XENOMAI_PSOS_PSOS_H
 
-#include <sys/types.h>
+typedef unsigned long u_long;
 
 #ifndef SUCCESS
 #define SUCCESS 0

_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to