#include "misc.h"
#include "options.h"
#include "filter.h"
+#include "xmalloc.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_TERMIOS_H
# include <termios.h>
-#else
-# ifdef HAVE_LINUX_TERMIOS_H
-# include <linux/termios.h>
-# endif
#endif
#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
load_database(datafile);
} else {
free(datafile);
- datafile = strdup(filename);
+ datafile = xstrdup(filename);
}
refresh_screen();