Fixed problem with unresolved symbol on stat()
git-svn-id: svn://10.0.0.236/trunk@134842 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
669a5e13af
commit
e7acc68490
@ -674,6 +674,11 @@ oeICalImpl::SetServer( const char *str ) {
|
||||
|
||||
icalset *stream;
|
||||
|
||||
//UGLY HACK TO ADD DEPENDANCY TO stat() in libc. ( -lc didn't work )
|
||||
int dummy=0;
|
||||
if( dummy )
|
||||
stat(NULL,NULL);
|
||||
|
||||
stream = icalfileset_new(serveraddr);
|
||||
if ( !stream ) {
|
||||
#ifdef ICAL_DEBUG
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user