diff options
author | Kolby Crouch <kjc.devel@gmail.com> | 2021-05-15 13:17:42 -0500 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2021-05-18 15:29:16 +0200 |
commit | c91806258805d243080a934ebd169333d4f8ba46 (patch) | |
tree | 3ef9ff5194920b7f72ba911f4fcc941397375ebd | |
parent | bde11b12775aed5113040de319f484da879a3f04 (diff) |
Fix build on NetBSD
-rw-r--r-- | zutil_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ /* Function to allocate 16 or 64-byte aligned memory */ static inline void *zng_alloc(size_t size) { -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) void *ptr; return posix_memalign(&ptr, 64, size) ? NULL : ptr; #elif defined(_WIN32) |