Hi,

I recently try to compile fossil under cygwin and it fail to build.

Version from today:
   4f8c8975bc4d1303a604da339f869c32eb0da960 2012-11-27 16:26:29 UTC

$ make
...
cc -g -02 -DHAVE_AUTOCONFIG_G -I. -I./src -Ibld -o bld/export.o -c
bld/export_.c
cc -g -02 -DHAVE_AUTOCONFIG_G -I. -I./src -Ibld -o bld/file.o -c bld/file_.c
./src/file.c: In function 'file_set_mtime':
./src/file.c:401:18 error: array type has incomplete element type
src/main.mk:584: recipe for target `bld/file.o' failed
make: *** [bld/file.o] Error 1
...

After digging a bit, I found that the problematic code was added in this
commit:

http://fossil-scm.org/index.html/info/0c37874941c89728f6cc0063a2a44b8bc2a38c6c

I temporarily get over the problem by including "sys/time.h"

I'm not sure if it's the "proper" fix, but it work for me.

Regards

-- 
Martin G.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to