summaryrefslogtreecommitdiffstats
path: root/programs
diff options
context:
space:
mode:
Diffstat (limited to 'programs')
-rw-r--r--programs/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/programs/util.h b/programs/util.h
index 6a085da..d76ce6a 100644
--- a/programs/util.h
+++ b/programs/util.h
@@ -59,6 +59,8 @@ extern "C" {
******************************************/
#include <stdlib.h> /* features.h with _POSIX_C_SOURCE, malloc */
#include <stdio.h> /* fprintf */
+#include <string.h> /* strerr, strlen, memcpy */
+#include <stddef.h> /* ptrdiff_t */
#include <sys/types.h> /* stat, utime */
#include <sys/stat.h> /* stat */
#if defined(_MSC_VER)