1
0
mirror of https://github.com/fumiama/simple-kanban.git synced 2026-06-12 21:00:23 +08:00

fix non darwin

This commit is contained in:
源文雨
2022-10-26 14:56:36 +08:00
parent 7d8964351b
commit 4479ae365f

View File

@@ -21,6 +21,9 @@
#if !__APPLE__
#include <sys/sendfile.h>
#include <endian.h>
#ifndef FD_COPY
#define FD_COPY(f, t) bcopy(f, t, sizeof(*(f)))
#endif
#else
#include <machine/endian.h>
#endif