summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 4a3da06..72a9a5d 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,8 +1,9 @@
#ifndef _UTIL_H
#define _UTIL_H
-#include <stdio.h>
#include <errno.h>
+#include <stdio.h>
+#include <string.h>
#define VWM_ERROR(_fmt, _args...) fprintf(stderr, "%s:%i\t%s() "_fmt"\n", __FILE__, __LINE__, __FUNCTION__, ##_args)
#define VWM_PERROR(_fmt, _args...) fprintf(stderr, "%s:%i\t%s() "_fmt"; %s\n", __FILE__, __LINE__, __FUNCTION__, ##_args, strerror(errno))
© All Rights Reserved