Skip to content

Commit 7f89891

Browse files
Fixed curl-inclusion in non-messaging builds
1 parent 784054a commit 7f89891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

VCellMessaging/include/VCELL/CurlProxyClasses.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#ifndef VCELL_ODE_NUMERICS_CURLPROXY_H
55
#define VCELL_ODE_NUMERICS_CURLPROXY_H
66
#include <string>
7-
#include <curl/curl.h>
8-
97
#include "VCELL/WorkerEvent.h"
108

119

@@ -26,6 +24,8 @@ class NullCurlProxy final : public AbstractCurlProxy {
2624
};
2725

2826
#ifdef USE_MESSAGING
27+
#include <curl/curl.h>
28+
2929
class CurlProxy final : public AbstractCurlProxy {
3030
public:
3131
CurlProxy(long simKey, int taskID, int jobIndex, const std::string& vcusername, const std::string& broker, int ttlLow, int ttlHigh);

0 commit comments

Comments
 (0)