summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/instr-daemon.c b/instr-daemon.c
index b0e05cd..e1d5c8e 100644
--- a/instr-daemon.c
+++ b/instr-daemon.c
@@ -15,6 +15,7 @@
#include <stdlib.h>
#include <ctype.h>
#include <glib.h>
+#include <unistd.h>
#include <fcntl.h>
#define STDIN_BUF_SIZE 1024
@@ -352,7 +353,6 @@ static gboolean finish_boot (void)
return FALSE; // no more calls to this function are needed
}
-
static gboolean periodic_poll (void)
{
if (globals.HWDetect.beaglebone && bus_getpin (POWER_FAIL)) {