** Switched to GtkColorChooserDialog instead of the
deprecated widget GtkColorSelectionDialog.
+** psensor-server: fixed compilation without gtop2 lib.
* v0.8.0.2
#ifndef _PSENSOR_SERVER_H_
#define _PSENSOR_SERVER_H_
+#include "config.h"
+
#include "psensor.h"
+
+#ifdef HAVE_GTOP
#include "sysinfo.h"
+#endif
#define URL_BASE_API_1_1 "/api/1.1"
#define URL_BASE_API_1_1_SENSORS "/api/1.1/sensors"
struct server_data {
struct psensor *cpu_usage;
struct psensor **sensors;
+#ifdef HAVE_GTOP
struct psysinfo psysinfo;
+#endif
char *www_dir;
};