Code

Append rules/targets to existing chain.
[collectd.git] / src / collectd.h
index 7cb405c04bd43d25ec6b807f730419cbf39a93bb..969aedaa483c0f1bddcfe7baa2052096c05cc783 100644 (file)
@@ -262,6 +262,10 @@ typedef int _Bool;
 # define COLLECTD_DEFAULT_INTERVAL 10.0
 #endif
 
+ #ifndef COLLECTD_USERAGENT
+ # define COLLECTD_USERAGENT PACKAGE_NAME"/"PACKAGE_VERSION
+ #endif
+
 /* Remove GNU specific __attribute__ settings when using another compiler */
 #if !__GNUC__
 # define __attribute__(x) /**/