aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordurner <durner@140774ce-b5e7-0310-ab8b-a85725594a96>2011-04-07 21:14:52 +0000
committerdurner <durner@140774ce-b5e7-0310-ab8b-a85725594a96>2011-04-07 21:14:52 +0000
commit0e83c6b00a975eaba56099f305073fc0dd44e1c7 (patch)
tree4d31bae20f2a8d8cef7b17e8a8e11f6f710f524c /src
parent7460b60717cf68c16a874f9217b72d3c3dc1530e (diff)
MinGW
git-svn-id: https://gnunet.org/svn/gnunet@14925 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-rw-r--r--src/hostlist/Makefile.am2
-rw-r--r--src/include/gauger.h9
2 files changed, 10 insertions, 1 deletions
diff --git a/src/hostlist/Makefile.am b/src/hostlist/Makefile.am
index 8fa95c50e1..ec525e2fa1 100644
--- a/src/hostlist/Makefile.am
+++ b/src/hostlist/Makefile.am
@@ -25,7 +25,7 @@ gnunet_daemon_hostlist_LDADD = \
$(top_builddir)/src/transport/libgnunettransport.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBMHD) \
- @LIBCURL@ \
+ @LIBCURL@ -lcurl \
$(GN_LIBINTL)
gnunet_daemon_hostlist_CPPFLAGS = \
diff --git a/src/include/gauger.h b/src/include/gauger.h
index eb2f6d1095..b45b2b83f1 100644
--- a/src/include/gauger.h
+++ b/src/include/gauger.h
@@ -11,6 +11,8 @@
#ifndef __GAUGER_H__
#define __GAUGER_H__
+#ifndef WINDOWS
+
#include <unistd.h>
#include <stdio.h>
#include <sys/wait.h>
@@ -75,4 +77,11 @@
}\
}
+#else
+
+#define GAUGER_ID(category, counter, value, unit, id) {}
+#define GAUGER(category, counter, value, unit) {}
+
+#endif // WINDOWS
+
#endif