Crap, you are of course right. It'll be fixed for 3.1.0 (aargh rebuilding all from scratch again).
Thanks Christian -----Original Message----- From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of Denys Duchier Sent: Wednesday, May 20, 2009 4:19 PM To: us...@gecode.org Subject: [gecode-users] [BUG] missing include The following include is missing in gecode/support/thread/pthreads.hpp causing compilation to fail for me (unknown sleep(3) and usleep(3)) in both 3.1.0 and trunk: #ifdef GECODE_HAS_UNISTD_H #include <unistd.h> #endif or perhaps more correctly: #ifdef GECODE_HAS_UNISTD_H extern "C" { #include <unistd.h> } #endif --Denys _______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users