[elinks-dev] elinks: FTBFS on GNU/kFreeBSD

Petr Salinger Petr.Salinger at seznam.cz
Wed Nov 29 03:31:25 MST 2006


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))




More information about the elinks-dev mailing list