** psensor: fixed error about 'expose-event' (signal replaced by
'draw') when compiled with gtk3.
** psensor: fixed typo in french translation file.
+** psensor-server: fixed compilation with microhttpd >= 0.9.2.
* v0.6.2.12
** psensor: added -d option to enable debug log (written to $HOME/.psensor/log).
return res;
}
+#if MHD_VERSION >= 0x00090200
+static int
+file_reader(void *cls, uint64_t pos, char *buf, size_t max)
+#else
static int
file_reader(void *cls, uint64_t pos, char *buf, int max)
+#endif
{
FILE *file = cls;