From 0cb4ae02456b9bc8e7f46bdf97ea21b8a92190ae Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 29 Mar 2022 22:00:51 -0700 Subject: [PATCH] CMake: fix fcntl.h detection This seems to have gone unnoticed because none of the Graphviz components currently integrated into the CMake build system rely critically on fcntl.h. This issue was discovered when integrating the xlib plugin. --- cmake/config_checks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/config_checks.cmake b/cmake/config_checks.cmake index b1edec02a..97b03cc90 100644 --- a/cmake/config_checks.cmake +++ b/cmake/config_checks.cmake @@ -1,7 +1,7 @@ # Header checks include(CheckIncludeFile) -check_include_file( fcntl .h HAVE_FCNTL_H ) +check_include_file( fcntl.h HAVE_FCNTL_H ) check_include_file( search.h HAVE_SEARCH_H ) check_include_file( stat.h HAVE_STAT_H ) check_include_file( sys/inotify.h HAVE_SYS_INOTIFY_H ) -- 2.40.0