Package: elinks
Severity: important
Version: 0.11.1-1.2
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It have to include <sys/types.h> before using off_t, see bellow.

Thanks in advance

                        Petr


--- src/util/time.h~    2006-11-29 10:50:31.000000000 +0100
+++ src/util/time.h     2006-11-29 10:50:31.000000000 +0100
@@ -8,6 +8,8 @@
 #include <time.h>
 #endif

+#include <sys/types.h>  /* off_t */
+
 typedef long milliseconds_T;
 #define MILLISECONDS_MAX ((milliseconds_T) (LONG_MAX / 1000L))
 #define ms_max(a, b) ((a) < (b) ? (b) : (a))



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to