#include "config.h"
#include <stdio.h>
-
-#ifdef HAVE_ERRNO_H
#include <errno.h>
-#endif
#ifndef HAVE_STRERROR
# ifndef HAVE_ERRNO_DECL
# AC_HEADER_STDC
AC_CHECK_HEADERS(malloc.h \
fcntl.h search.h values.h limits.h termios.h \
- errno.h unistd.h strings.h \
+ unistd.h strings.h \
sys/time.h sys/types.h sys/select.h \
sys/stat.h sys/mman.h \
sys/ioctl.h sys/inotify.h crt_externs.h)
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
-
-#ifdef HAVE_ERRNO_H
#include <errno.h>
-#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_SYS_INOTIFY_H
#include <sys/inotify.h>
#endif
-#ifdef HAVE_ERRNO_H
#include <errno.h>
-#endif
#include "gvplugin_device.h"
static void browser_show(GVJ_t *job)
{
-#if defined HAVE_SYS_TYPES_H && defined HAVE_UNISTD_H && defined HAVE_ERRNO_H
+#if defined HAVE_SYS_TYPES_H && defined HAVE_UNISTD_H
char *exec_argv[3] = {BROWSER, NULL, NULL};
pid_t pid;
int err;
#ifdef HAVE_SYS_INOTIFY_H
#include <sys/inotify.h>
#endif
-#ifdef HAVE_ERRNO_H
#include <errno.h>
-#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
static void browser_show(GVJ_t *job)
{
-#if defined HAVE_SYS_TYPES_H && defined HAVE_UNISTD_H && defined HAVE_ERRNO_H
+#if defined HAVE_SYS_TYPES_H && defined HAVE_UNISTD_H
char *exec_argv[3] = {BROWSER, NULL, NULL};
pid_t pid;
int err;
/* Define if errno externs are declared */
/* #undef HAVE_ERRNO_DECL */
-/* Define to 1 if you have the <errno.h> header file. */
-#define HAVE_ERRNO_H 1
-
/* Define if you have the expat library */
#define HAVE_EXPAT 1