mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
Fixed problem with unresolved symbol on stat()
This commit is contained in:
parent
82b60aea48
commit
703f5b19be
@ -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