Skip to content

Commit 0353465

Browse files
author
Volodymyr Samokhatko
committed
CMake: check for sched.h
1 parent 111db4b commit 0353465

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
@@ -189,6 +189,7 @@ check_include_file("sys/stat.h" LIBVNCSERVER_HAVE_SYS_STAT_H)
189189
check_include_file("sys/time.h" LIBVNCSERVER_HAVE_SYS_TIME_H)
190190
check_include_file("sys/types.h" LIBVNCSERVER_HAVE_SYS_TYPES_H)
191191
check_include_file("sys/wait.h" LIBVNCSERVER_HAVE_SYS_WAIT_H)
192+
check_include_file("sched.h" LIBVNCSERVER_HAVE_SCHED_H)
192193
check_include_file("unistd.h" LIBVNCSERVER_HAVE_UNISTD_H)
193194
check_include_file("sys/resource.h" LIBVNCSERVER_HAVE_SYS_RESOURCE_H)
194195

include/rfb/rfbconfig.h.cmakein

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@
108108
/* Define to 1 if you have <sys/resource.h> */
109109
#cmakedefine LIBVNCSERVER_HAVE_SYS_RESOURCE_H 1
110110

111+
/* Define to 1 if you have the <sched.h> header file. */
112+
#cmakedefine LIBVNCSERVER_HAVE_SCHED_H 1
113+
111114
/* Define to 1 if you have the <unistd.h> header file. */
112115
#cmakedefine LIBVNCSERVER_HAVE_UNISTD_H 1
113116

0 commit comments

Comments
 (0)