[Xenomai] [PATCH] psos: avoid including standard header files
Ronny Meeus
ronny.meeus at gmail.com
Fri Dec 16 10:56:37 CET 2016
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
More information about the Xenomai
mailing list