summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-15 19:50:24 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-11-16 21:23:02 +0100
commitc095a0ef0c585dbb64b0ecf8a148a50918f83474 (patch)
treed20c37f540aaba49dba35aabaed58248597213db /src
parenta3ee335cd94818b47b2499568ef4bbc95efd37bb (diff)
Remove unneeded #includes
Fixes cross-platform issues.
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c1
-rw-r--r--src/buffer.h1
-rw-r--r--src/utf8.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index fd763d1..448ca7d 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5,7 +5,6 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sys/param.h>
#include "buffer.h"
diff --git a/src/buffer.h b/src/buffer.h
index 17a9f09..1627813 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -4,7 +4,6 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdarg.h>
-#include <sys/types.h>
#include "cmark_export.h"
typedef struct {
diff --git a/src/utf8.c b/src/utf8.c
index 8a786b7..d642ef4 100644
--- a/src/utf8.c
+++ b/src/utf8.c
@@ -1,6 +1,5 @@
#include <stdlib.h>
#include <stdint.h>
-#include <unistd.h>
#include <assert.h>
#include "utf8.h"