Skip to content

Commit e4f3e72

Browse files
author
Volodymyr Samokhatko
committed
CMake: check for sys/sysctl.h
1 parent 0353465 commit e4f3e72

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ check_include_file("netinet/in.h" LIBVNCSERVER_HAVE_NETINET_IN_H)
186186
check_include_file("sys/endian.h" LIBVNCSERVER_HAVE_SYS_ENDIAN_H)
187187
check_include_file("sys/socket.h" LIBVNCSERVER_HAVE_SYS_SOCKET_H)
188188
check_include_file("sys/stat.h" LIBVNCSERVER_HAVE_SYS_STAT_H)
189+
check_include_file("sys/sysctl.h" LIBVNCSERVER_HAVE_SYS_SYSCTL_H)
189190
check_include_file("sys/time.h" LIBVNCSERVER_HAVE_SYS_TIME_H)
190191
check_include_file("sys/types.h" LIBVNCSERVER_HAVE_SYS_TYPES_H)
191192
check_include_file("sys/wait.h" LIBVNCSERVER_HAVE_SYS_WAIT_H)

include/rfb/rfbconfig.h.cmakein

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@
9393
/* Define to 1 if you have the <sys/stat.h> header file. */
9494
#cmakedefine LIBVNCSERVER_HAVE_SYS_STAT_H 1
9595

96+
/* Define to 1 if you have the <sys/sysctl.h> header file. */
97+
#cmakedefine LIBVNCSERVER_HAVE_SYS_SYSCTL_H 1
98+
9699
/* Define to 1 if you have the <sys/time.h> header file. */
97100
#cmakedefine LIBVNCSERVER_HAVE_SYS_TIME_H 1
98101

0 commit comments

Comments
 (0)