Skip to content

Commit

Permalink
[struct_pack][fix] fix freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Aug 14, 2024
1 parent 7b47305 commit 9b39944
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/ylt/easylog/record.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@
#include <cstring>

#include "ylt/util/time_util.h"
#ifdef __linux__
#include <unistd.h>
#endif
#if __has_include(<memory_resource>)
#include <memory_resource>
#endif
#if defined(__linux__) || defined(__FreeBSD__)
#include <sys/syscall.h>
#include <unistd.h>
#elif defined(__rtems__)
#include <rtems.h>
#endif
Expand Down

0 comments on commit 9b39944

Please sign in to comment.