diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-25 16:45:09 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-25 16:52:02 -0700 |
commit | a3b40ded1276afe8e9e426c39d721a9ccb989eb8 (patch) | |
tree | 1d5b2ca1802f0408647a74acde640dae1aefef6b /src/util.h | |
parent | 8128b3f414f494af1708df627851a8483aeb3160 (diff) |
*: add some missing includes
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)) |