Skip to content

Commit 4cb9231

Browse files
committed
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).
1 parent 6146957 commit 4cb9231

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

include/types-compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _TYPES_COMPAT_H_
22
#define _TYPES_COMPAT_H_
33

4-
#include <sys/types.h>
4+
#include <stdint.h>
55
#include <limits.h>
66
#include <stdint.h>
77

src/s_modfl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#include <float.h>
4040
#include <openlibm.h>
4141
#include "math_private.h"
42-
#include <sys/types.h>
4342

4443
#include "fpmath.h"
4544

0 commit comments

Comments
 (0)