Fixed compilation error on OpenBSD

This commit is contained in:
Andrew S. Rightenburg 2023-04-03 23:09:31 -04:00
parent 0bcf92b4b1
commit 64fc6ec652

View file

@ -23,6 +23,12 @@
#include <unistd.h>
#endif
#ifdef __OpenBSD__
// On OpenBSD, 'WEXITSTATUS' (used in polonius::command) is declared in sys/wait.h
// TODO: Check FreeBSD
#include <sys/wait.h>
#endif
#include "namespace_polonius.h"
#include "class_cursor.cpp"
#include "class_pl_file.cpp"