mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[headers] Check for sys/kd.h
This commit is contained in:
parent
b9910df99d
commit
3d208c3135
@ -728,6 +728,9 @@
|
||||
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
#mesondefine HAVE_SYS_IOCTL_H
|
||||
|
||||
/* Define to 1 if you have the <sys/kd.h> header file */
|
||||
#mesondefine HAVE_SYS_KD_H
|
||||
|
||||
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#mesondefine HAVE_SYS_NDIR_H
|
||||
|
@ -217,6 +217,7 @@ AC_CHECK_HEADERS(ifaddrs.h)
|
||||
AC_CHECK_HEADERS(sys/cygwin.h io.h)
|
||||
AC_CHECK_HEADERS(sys/fmutex.h)
|
||||
AC_CHECK_HEADERS(sys/ioctl.h sys/sockio.h)
|
||||
AC_CHECK_HEADERS(sys/kd.h)
|
||||
AC_CHECK_HEADERS(sys/resource.h)
|
||||
AC_CHECK_HEADERS(sys/select.h)
|
||||
AC_CHECK_HEADERS(sys/socket.h)
|
||||
|
@ -227,6 +227,10 @@ if compiler.has_header('sys/ioctl.h')
|
||||
conf_data.set('HAVE_SYS_IOCTL_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('sys/kd.h')
|
||||
conf_data.set('HAVE_SYS_KD_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('sys/sockio.h')
|
||||
conf_data.set('HAVE_SYS_SOCKIO_H', 1)
|
||||
endif
|
||||
|
@ -30,7 +30,10 @@
|
||||
#endif
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#ifdef HAVE_SYS_KD_H
|
||||
#include <sys/kd.h>
|
||||
#endif
|
||||
|
||||
#include "elinks.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user