Directly use <sys/_types.h> provided by Newlib

This commit is contained in:
Sebastian Huber
2016-04-27 10:26:50 +02:00
parent 3d1e767c8f
commit b6f6deb883
15 changed files with 14 additions and 252 deletions

View File

@@ -186,7 +186,6 @@ def fixIncludes(data):
data = re.sub('#include <sys/param.h>', '#include <rtems/bsd/sys/param.h>', data)
data = re.sub('#include <sys/resource.h>', '#include <rtems/bsd/sys/resource.h>', data)
data = re.sub('#include <sys/unistd.h>', '#include <rtems/bsd/sys/unistd.h>', data)
data = re.sub('#include <sys/_types.h>', '#include <rtems/bsd/sys/_types.h>', data)
return data
# revert fixing the include paths inside a C or .h file