src/utils_lua.[ch]: Various small bugfixes.
[collectd.git] / src / utils_lua.h
index 366dd0f..78655ee 100644 (file)
  * Authors:
  *   Florian Forster <octo at collectd.org>
  **/
+
 #ifndef UTILS_LUA_H
 #define UTILS_LUA_H 1
 
 #include "collectd.h"
 #include "plugin.h"
 
+#ifndef DONT_POISON_SPRINTF_YET
+# error "Files including utils_lua.h need to define DONT_POISON_SPRINTF_YET."
+#endif
 #include <lua.h>
 
 /*