mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: various fixes for compiling on macOS
This commit is contained in:
@ -57,7 +57,11 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <endian.h>
|
||||
#ifdef __APPLE__
|
||||
# include <machine/endian.h>
|
||||
#else
|
||||
# include <endian.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
|
||||
Reference in New Issue
Block a user