mirror of
https://github.com/fumiama/simple-kanban.git
synced 2026-06-29 23:51:09 +08:00
fix non darwin
This commit is contained in:
3
server.c
3
server.c
@@ -21,6 +21,9 @@
|
|||||||
#if !__APPLE__
|
#if !__APPLE__
|
||||||
#include <sys/sendfile.h>
|
#include <sys/sendfile.h>
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
|
#ifndef FD_COPY
|
||||||
|
#define FD_COPY(f, t) bcopy(f, t, sizeof(*(f)))
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <machine/endian.h>
|
#include <machine/endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user