summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2018-01-20 15:23:06 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2018-01-20 15:23:06 (GMT)
commit0cc0024ac0acb2f3957d08fb7843888d77eb3e45 (patch)
treecd984a61ed69ecb68b25ec67cdf0fb0ac0fff1aa
parent857e68f3b22ad9939c90f869ef90741a0fbfdce5 (diff)
downloadlibnsutils-master.tar.gz
libnsutils-master.tar.bz2
Include standard library headers for types.HEADmaster
-rw-r--r--include/nsutils/base64.h2
-rw-r--r--include/nsutils/endian.h3
-rw-r--r--include/nsutils/time.h2
-rw-r--r--include/nsutils/unistd.h2
4 files changed, 9 insertions, 0 deletions
diff --git a/include/nsutils/base64.h b/include/nsutils/base64.h
index 672b69c..2baeec6 100644
--- a/include/nsutils/base64.h
+++ b/include/nsutils/base64.h
@@ -15,6 +15,8 @@
#ifndef NSUTILS_BASE64_H_
#define NSUTILS_BASE64_H_
+#include <inttypes.h>
+
#include <nsutils/errors.h>
/**
diff --git a/include/nsutils/endian.h b/include/nsutils/endian.h
index 4fe2420..a624166 100644
--- a/include/nsutils/endian.h
+++ b/include/nsutils/endian.h
@@ -13,6 +13,9 @@
#ifndef NSUTILS_ENDIAN_H_
#define NSUTILS_ENDIAN_H__
+#include <inttypes.h>
+#include <stdbool.h>
+
/**
* Detect if the host is little endian.
*
diff --git a/include/nsutils/time.h b/include/nsutils/time.h
index db60914..f162b75 100644
--- a/include/nsutils/time.h
+++ b/include/nsutils/time.h
@@ -15,6 +15,8 @@
#ifndef NSUTILS_TIME_H_
#define NSUTILS_TIME_H_
+#include <inttypes.h>
+
#include <nsutils/errors.h>
/**
diff --git a/include/nsutils/unistd.h b/include/nsutils/unistd.h
index be11382..06af226 100644
--- a/include/nsutils/unistd.h
+++ b/include/nsutils/unistd.h
@@ -15,6 +15,8 @@
#ifndef NSUTILS_UNISTD_H_
#define NSUTILS_UNISTD_H_
+#include <unistd.h>
+
/**
* Perform a write operation at a specific offset
*