mirror of
https://github.com/oxen-io/oxen-mq.git
synced 2023-12-13 21:00:31 +01:00
Add missing header for BSD pthread naming
This commit is contained in:
parent
9c54264321
commit
7cd58e4677
2 changed files with 14 additions and 0 deletions
|
@ -2,6 +2,13 @@
|
|||
#include "lokimq-internal.h"
|
||||
#include "hex.h"
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
extern "C" {
|
||||
#include <pthread.h>
|
||||
#include <pthread_np.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
extern "C" {
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -2,6 +2,13 @@
|
|||
#include "batch.h"
|
||||
#include "lokimq-internal.h"
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
extern "C" {
|
||||
#include <pthread.h>
|
||||
#include <pthread_np.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace lokimq {
|
||||
|
||||
namespace {
|
||||
|
|
Loading…
Reference in a new issue