From cd44ac2b6b350bf66bc575053c7a7e7622c91e9c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 10 Dec 2014 11:34:06 +0000 Subject: Add guards around EOVERFLOW defines. (Thanks, OpenBSD) --- src/libbiguint/bu_subc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libbiguint/bu_subc.c') diff --git a/src/libbiguint/bu_subc.c b/src/libbiguint/bu_subc.c index c26adca..a5d0037 100644 --- a/src/libbiguint/bu_subc.c +++ b/src/libbiguint/bu_subc.c @@ -1,7 +1,9 @@ /* ISC license. */ /* OpenBSD needs that for EOVERFLOW. wtfbsdseriously */ +#ifndef _BSD_SOURCE #define _BSD_SOURCE +#endif #include #include -- cgit v1.2.3