Fix build with gcc41 on amd64.
This commit is contained in:
parent
cc9a752a5f
commit
4b2f699625
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185731
15
net/asterisk-bristuff/files/patch-utils.c
Normal file
15
net/asterisk-bristuff/files/patch-utils.c
Normal file
@ -0,0 +1,15 @@
|
||||
--- utils.c.orig Fri Feb 23 07:31:48 2007
|
||||
+++ utils.c Fri Feb 23 07:34:20 2007
|
||||
@@ -58,7 +58,11 @@
|
||||
static char base64[64];
|
||||
static char b2a[256];
|
||||
|
||||
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__)
|
||||
+#if defined(__FreeBSD__)
|
||||
+#include <osreldate.h>
|
||||
+#endif
|
||||
+
|
||||
+#if (defined(__FreeBSD__) && __FreeBSD_version < 601103) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__)
|
||||
|
||||
/* duh? ERANGE value copied from web... */
|
||||
#define ERANGE 34
|
Loading…
Reference in New Issue
Block a user