mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
This is a powerful Computer-Algebra System written in it's own version of LISP with quite a long history behind it. PR: ports/186855 Submitted by: Pedro Giffuni <giffunip@tutopia.com>
22 lines
556 B
C
22 lines
556 B
C
Index: csl/cslbase/headers.h
|
|
===================================================================
|
|
--- csl/cslbase/headers.h (revision 1603)
|
|
+++ csl/cslbase/headers.h (working copy)
|
|
@@ -97,6 +97,17 @@
|
|
#define PRIxPTR "llx"
|
|
#endif
|
|
|
|
+/*
|
|
+ * This is necessary to for timeval in BSD systems.
|
|
+ */
|
|
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+
|
|
+#if (defined(BSD) && (BSD >= 199103))
|
|
+#include <sys/time.h>
|
|
+#endif
|
|
+
|
|
#ifndef UNDER_CE
|
|
/*
|
|
* The test for UNDER_CE is a little odd here, but when I once compiled a
|