[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit-dev] [monit] r219 committed - fixed compilation without ssl (than
From: |
monit |
Subject: |
[monit-dev] [monit] r219 committed - fixed compilation without ssl (thanks to Sebastien Debrard for patch) |
Date: |
Wed, 18 Aug 2010 14:06:59 +0000 |
Revision: 219
Author: martin2812
Date: Wed Aug 18 07:05:53 2010
Log: fixed compilation without ssl (thanks to Sebastien Debrard for patch)
http://code.google.com/p/monit/source/detail?r=219
Modified:
/trunk/configure.ac
/trunk/net.c
=======================================
--- /trunk/configure.ac Thu May 6 12:44:43 2010
+++ /trunk/configure.ac Wed Aug 18 07:05:53 2010
@@ -115,6 +115,7 @@
setjmp.h \
signal.h \
stdarg.h \
+ stddef.h \
stdio.h \
string.h \
strings.h \
=======================================
--- /trunk/net.c Thu May 6 13:32:29 2010
+++ /trunk/net.c Wed Aug 18 07:05:53 2010
@@ -121,6 +121,12 @@
#include <unistd.h>
#endif
+#ifdef HAVE_STDDEF_H
+#include <stddef.h>
+#else
+#define offsetof(st, m) ((size_t) ( (char *)&((st *)(0))->m - (char *)0 ))
+#endif
+
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [monit-dev] [monit] r219 committed - fixed compilation without ssl (thanks to Sebastien Debrard for patch),
monit <=