library: build on non-glibc systems

Some non-glibc systems didn't have libio.h or __BEGIN_DECLS
Changes to make it more standard.

References:
 issue #88
This commit is contained in:
Craig Small
2018-04-10 21:28:11 +10:00
parent 58bff862fc
commit 5576c8e438
3 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,6 @@
#endif
#include <errno.h>
#include <fcntl.h>
#include <libio.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>