summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/hddtemp/hddtemp-plugin.c1
-rw-r--r--sensors-applet/sensors-applet-settings.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/hddtemp/hddtemp-plugin.c b/plugins/hddtemp/hddtemp-plugin.c
index 307b6f1..c7fde43 100644
--- a/plugins/hddtemp/hddtemp-plugin.c
+++ b/plugins/hddtemp/hddtemp-plugin.c
@@ -36,6 +36,7 @@
#include <arpa/inet.h>
#endif
+#include <unistd.h>
#include "hddtemp-plugin.h"
const gchar *plugin_name = "hddtemp";
diff --git a/sensors-applet/sensors-applet-settings.c b/sensors-applet/sensors-applet-settings.c
index 6b0d92f..c725673 100644
--- a/sensors-applet/sensors-applet-settings.c
+++ b/sensors-applet/sensors-applet-settings.c
@@ -20,6 +20,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
+#include <string.h>
#include <glib.h>
#include "sensors-applet.h"
#include "sensors-applet-settings.h"