From ea1248d40a0c68f3e6cf09d03354f7a5fc6e2612 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sun, 4 Jun 2017 18:31:07 +0200 Subject: include: Fix macro for printing hash --- include/ouroboros/endian.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/ouroboros/endian.h') diff --git a/include/ouroboros/endian.h b/include/ouroboros/endian.h index 4738159e..16200028 100644 --- a/include/ouroboros/endian.h +++ b/include/ouroboros/endian.h @@ -26,9 +26,15 @@ #if defined(__linux__) || defined(__CYGWIN__) +#ifndef _BSD_SOURCE #define _BSD_SOURCE +#endif +#ifndef __USE_BSD #define __USE_BSD +#endif +#ifndef _DEFAULT_SOURCE #define _DEFAULT_SOURCE +#endif #include #include -- cgit v1.2.3