state-record.c: Include header for write()/close()

Avoid an "implicit declaration of ..." warning/error for using
close()/write().
This commit is contained in:
Chun-wei Fan 2019-04-18 15:06:54 +08:00
parent 0fcfa1f266
commit 983e82b750

View File

@ -23,6 +23,12 @@
#include <gtk/gtk.h>
#include <string.h>
#ifdef G_OS_WIN32
# include <io.h>
#else
# include <unistd.h>
#endif
static gchar **states;
static void