diff --git a/src/utils/os.h b/src/utils/os.h index 030eb9b8e..6232d9e69 100644 --- a/src/utils/os.h +++ b/src/utils/os.h @@ -61,6 +61,10 @@ #define os_strlen(s) strlen((s)) #endif +#ifndef os_strncmp +#define os_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) +#endif + struct find_dir_type { int proc_running; char *proc_name;