OkCupid / sfslite

SFSlite C++ development libraries
GNU General Public License v2.0
55 stars 65 forks source link

compile error #21

Open lilothar opened 9 years ago

lilothar commented 9 years ago

errors show as blow: can you help me In file included from arandom.c:24: sysconf.h: In function ‘getpeereid’: sysconf.h:462: error: storage size of ‘cred’ isn’t known cc1: warnings being treated as errors sysconf.h:462: error: unused variable ‘cred’

eumpek commented 8 years ago

I managed to overcome this issue by adding the following

if 0 at 456 line

endif at line 476

(the comment of one of the developers: /* doesn't work on new linuxes, just forget it */)