#include <netdb.h>
#include <arpa/inet.h>
// major/minor, dev_t, needed for glibc>=2.25
#include <sys/sysmacros.h>
// groups
#include <grp.h>
// intltool
#include <glib/gi18n.h>
// dev_t
typedef struct device_t {