Skip to content

Commit d0a425f

Browse files
davywmpictor
authored andcommitted
Fixed HAVE_SYS_PARAM_H.
* Include file check for sys/param.h fixed.
1 parent 2647e16 commit d0a425f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ INCLUDE(${SCL_CMAKE_DIR}/FindYACC.cmake)
204204
CHECK_INCLUDE_FILE(ndir.h HAVE_NDIR_H)
205205
CHECK_INCLUDE_FILE(stdarg.h HAVE_STDARG_H)
206206
CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H)
207-
CHECK_INCLUDE_FILE(sys/params.h HAVE_SYS_PARAMS_H)
207+
CHECK_INCLUDE_FILE(sys/param.h HAVE_SYS_PARAM_H)
208208
CHECK_INCLUDE_FILE(sysent.h HAVE_SYSENT_H)
209209
CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H)
210210
CHECK_INCLUDE_FILE(dirent.h HAVE_DIRENT_H)

include/scl_cf_cmake.h.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#cmakedefine HAVE_NDIR_H 1
66
#cmakedefine HAVE_STDARG_H 1
77
#cmakedefine HAVE_SYS_STAT_H 1
8+
#cmakedefine HAVE_SYS_PARAM_H 1
89
#cmakedefine HAVE_SYSENT_H 1
910
#cmakedefine HAVE_UNISTD_H 1
1011
#cmakedefine HAVE_DIRENT_H 1

src/clutils/dirobj.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#include <stdlib.h>
3939

4040
#include <string.h>
41-
#ifdef HAVE_SYS_PARAMS_H
41+
#ifdef HAVE_SYS_PARAM_H
4242
# include <sys/param.h>
4343
#endif
4444

0 commit comments

Comments
 (0)