diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-23 16:07:38 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-23 16:07:38 +0100 |
commit | f6afde3c5dcece3b4980cebcde09a9ecca9e20d8 (patch) | |
tree | 48294a30843b08709d6c2dbdc1734a14e176c865 /lib/common | |
parent | dd4d7e713290d9cecbebc6933e41d027bac63c8f (diff) |
Move some unix header inclusions to compat.h
In most cases, including unistd.h and fcntl.h was a left over anyway.
In the cases where it was not, move it to compat.h.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/common')
-rw-r--r-- | lib/common/data_reader_dump.c | 1 | ||||
-rw-r--r-- | lib/common/io_stdin.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/common/data_reader_dump.c b/lib/common/data_reader_dump.c index 4065677..96103ce 100644 --- a/lib/common/data_reader_dump.c +++ b/lib/common/data_reader_dump.c @@ -7,7 +7,6 @@ #include "common.h" #include <stdlib.h> -#include <unistd.h> #include <string.h> #include <stdio.h> #include <errno.h> diff --git a/lib/common/io_stdin.c b/lib/common/io_stdin.c index 7abcd79..ca6bf49 100644 --- a/lib/common/io_stdin.c +++ b/lib/common/io_stdin.c @@ -7,7 +7,6 @@ #include "common.h" #include <stdlib.h> -#include <unistd.h> #include <string.h> #include <errno.h> |