[IRC-Dev CVS] SF.net SVN: irc-dev:[215] ircd/trunk/ircd/os_generic.c
Brought to you by:
zolty
|
From: <zo...@us...> - 2008-10-18 10:01:38
|
Revision: 215
http://irc-dev.svn.sourceforge.net/irc-dev/?rev=215&view=rev
Author: zolty
Date: 2008-10-18 10:01:22 +0000 (Sat, 18 Oct 2008)
Log Message:
-----------
En Darwin (MacOS X) no se compilaba porque faltaba un include a libc.h. Thanks a RedStripes
Modified Paths:
--------------
ircd/trunk/ircd/os_generic.c
Modified: ircd/trunk/ircd/os_generic.c
===================================================================
--- ircd/trunk/ircd/os_generic.c 2008-10-18 09:54:03 UTC (rev 214)
+++ ircd/trunk/ircd/os_generic.c 2008-10-18 10:01:22 UTC (rev 215)
@@ -90,6 +90,10 @@
#define getrusage(a,b) syscall(SYS_GETRUSAGE, a, b)
#endif
+#ifdef DARWIN
+#include <libc.h"
+#endif
+
static int is_blocked(int error)
{
return EWOULDBLOCK == error
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|