cmark

My personal build of CMark ✏️

Commit
c095a0ef0c585dbb64b0ecf8a148a50918f83474
Parent
a3ee335cd94818b47b2499568ef4bbc95efd37bb
Author
Nick Wellnhofer <wellnhofer@aevum.de>
Date

Remove unneeded #includes

Fixes cross-platform issues.

Diffstat

3 files changed, 0 insertions, 3 deletions

Status File Name N° Changes Insertions Deletions
Modified src/buffer.c 1 0 1
Modified src/buffer.h 1 0 1
Modified src/utf8.c 1 0 1
diff --git 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
@@ -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
@@ -1,6 +1,5 @@
 #include <stdlib.h>
 #include <stdint.h>
-#include <unistd.h>
 #include <assert.h>
 
 #include "utf8.h"