[cvsnt-dev] compile_fixes_on_FreeBSD_(4.3)

Jonas Lund whizzter at kth.se
Mon Apr 5 14:06:39 BST 2004

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

when compiling 2.0.34 on FreeBSD 4.3
i got some errors, easily fixed ones atleast.

in the cvsdelta/cvsdelta.cpp file
add sys/types.h before netinet/in.h

#if defined(_WIN32)
  #include <winsock2.h>
  #include <sys/types.h>
  #include <netinet/in.h>

error in lockservice/LockParse.cpp
LockParse.cpp: In function `bool OpenLockClient(int, const sockaddr_storage
*, int)':
LockParse.cpp:241: implicit declaration of function `int time(...)'

solution: add time.h anywhere suitable

that's it i think!

/ Jonas Lund

More information about the cvsnt-dev mailing list