From 0c82a58f792dd0de2633b2b34abbbffc0f5cc18d Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Fri, 15 Dec 2017 16:52:26 -0600 Subject: [PATCH] Add ERR_BADFILE --- include/log.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/log.h b/include/log.h index df0c7e5..6d1d22c 100644 --- a/include/log.h +++ b/include/log.h @@ -2,6 +2,8 @@ #define _LOG_H_ #include +#include +#include #define LOG_FILENAME "/tmp/emp.log" @@ -9,6 +11,7 @@ enum log_errcode { OK = 1, ERR_OOM, // out of memory ERR_OOB, // out of bounds + ERR_BADFILE, }; extern void log_write(int, const char *, ...);