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 *, ...);