فهرست منبع

Removed some uses of sys/types.h

It's useful to be able to compile openlibm in environments where this
doesn't exist (e.g. OS kernels).
Thomas Leonard 10 سال پیش
والد
کامیت
4cb9231f1a
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 1
      include/types-compat.h
  2. 0 1
      src/s_modfl.c

+ 1 - 1
include/types-compat.h

@@ -1,7 +1,7 @@
 #ifndef _TYPES_COMPAT_H_
 #define	_TYPES_COMPAT_H_
 
-#include <sys/types.h>
+#include <stdint.h>
 #include <limits.h>
 #include <stdint.h>
 

+ 0 - 1
src/s_modfl.c

@@ -39,7 +39,6 @@
 #include <float.h>
 #include <openlibm.h>
 #include "math_private.h"
-#include <sys/types.h>
 
 #include "fpmath.h"