blob: 5d25c4ef1e7c44f4c0cfbab43b3d8aaca514d75f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- daemon/http-tx-mgr.c.orig 2015-09-21 03:42:11 UTC
+++ daemon/http-tx-mgr.c
@@ -58,6 +58,22 @@
#define USER_AGENT_OS "Linux"
#endif
+#ifdef __FreeBSD__
+#define USER_AGENT_OS "FreeBSD"
+#endif
+
+#ifdef __DragonFly__
+#define USER_AGENT_OS "DragonFly"
+#endif
+
+#ifdef __NetBSD__
+#define USER_AGENT_OS "NetBSD"
+#endif
+
+#ifdef __OpenBSD__
+#define USER_AGENT_OS "OpenBSD"
+#endif
+
struct _Connection {
CURL *curl;
gint64 ctime; /* Used to clean up unused connection. */
|