mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Util: fixes building on DragonFly BSD
This commit is contained in:
@@ -4,7 +4,11 @@
|
||||
#include <assert.h>
|
||||
|
||||
#if FF_HAVE_MALLOC_USABLE_SIZE || FF_HAVE_MSVC_MSIZE
|
||||
#include <malloc.h>
|
||||
#if __has_include(<malloc.h>)
|
||||
#include <malloc.h>
|
||||
#else
|
||||
#include <malloc_np.h> // For DragonFly BSD
|
||||
#endif
|
||||
#elif FF_HAVE_MALLOC_SIZE
|
||||
#include <malloc/malloc.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user