mirror of
https://github.com/emqx/neuron.git
synced 2026-10-17 04:40:42 +08:00
Merge pull request #2937 from ZhouBox/main
fix: include sys/queue.h only on Darwin
This commit is contained in:
@@ -22,13 +22,13 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/queue.h>
|
||||
|
||||
#include "event/event.h"
|
||||
|
||||
#ifdef NEU_PLATFORM_DARWIN
|
||||
|
||||
#include <sys/event.h>
|
||||
#include <sys/queue.h>
|
||||
|
||||
struct neu_event_timer {
|
||||
int id;
|
||||
|
||||
Reference in New Issue
Block a user