commit 333f1304257cc023a1429b52e54fb942083a8472
parent 2a4b1b0de4ebb3063026f4dff88419c802964736
Author: sin <sin@2f30.org>
Date: Tue, 18 Nov 2014 15:55:55 +0000
Fix up include paths for sed
Diffstat:
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sed/strlcat.c b/sed/strlcat.c
@@ -17,7 +17,7 @@
#include <string.h>
#include <sys/types.h>
-#include "../util.h"
+#include "util.h"
/*
* Appends src to string dst of size siz (unlike strncat, siz is the
diff --git a/sed/strlcpy.c b/sed/strlcpy.c
@@ -17,7 +17,7 @@
#include <string.h>
#include <sys/types.h>
-#include "../util.h"
+#include "util.h"
/*
* Copy src to string dst of size siz. At most siz-1 characters
diff --git a/sed/util.h b/sed/util.h
@@ -1,4 +1,6 @@
#include <sys/stat.h>
+#include <stdio.h>
+#include <stddef.h>
#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)