+/* Required for strdup, snprintf, getopt */
+#define _XOPEN_SOURCE 500
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <mntent.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#include <sys/select.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
for(i=0; nodes[i]; ++i)
{
+ Property *props;
+
if(verbosity>=1)
printf("Examining device %s\n", nodes[i]);
- Property *props = get_device_properties(nodes[i]);
+ props = get_device_properties(nodes[i]);
if(!props)
{
if(verbosity>=2)