Skip to contentSkip to conversation

psos: avoid including standard header files

PATCH New Ronny Meeus 1 participant 1 message Dec 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 psos: avoid including standard header files

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

include/psos/psos.h +1 -1
@@ -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