mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
ecaa1024a6
PR: 223094 Submitted by: mzaki@niid.go.jp Approved by: cartwright@asu.edu (maintainer) Approved by: olivier (mentor) Differential Revision: https://reviews.freebsd.org/D12768
16 lines
361 B
C
16 lines
361 B
C
--- prob1.c.orig 2017-09-28 11:22:48 UTC
|
|
+++ prob1.c
|
|
@@ -33,6 +33,12 @@ THE SOFTWARE. */
|
|
#include <zlib.h>
|
|
#include "prob1.h"
|
|
|
|
+#include <sys/param.h>
|
|
+#if defined(__FreeBSD__) && (__FreeBSD_version < 1000034)
|
|
+# define logl(x) log(x)
|
|
+# define expl(x) exp(x)
|
|
+#endif
|
|
+
|
|
// #include "kstring.h"
|
|
// #include "kseq.h"
|
|
// KSTREAM_INIT(gzFile, gzread, 16384)
|