Procházet zdrojové kódy

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 před 10 roky
rodič
revize
4cb9231f1a
2 změnil soubory, kde provedl 1 přidání a 2 odebrání
  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"