add NetBSD/OpenBSD build support (except test/)

This commit is contained in:
SASANO Takayoshi 2022-07-10 11:03:00 +09:00
parent 07fe82cb9b
commit 455e8c4229
14 changed files with 52 additions and 17 deletions

View file

@ -24,7 +24,10 @@
#ifdef HAVE_SYS_SHM_H
#include <stdio.h>
#include <stdlib.h>
#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <string.h>
#include <errno.h>
#include <poll.h>