Skip to content

Commit de33390

Browse files
committed
[bazel] Port b4e39e4
1 parent 917bc90 commit de33390

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

utils/bazel/llvm-project-overlay/llvm/config.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ posix_defines = [
4343
"HAVE_SETENV_R=1",
4444
"HAVE_STRERROR_R=1",
4545
"HAVE_SYSEXITS_H=1",
46+
"HAVE_SYS_IOCTL_H=1",
4647
"HAVE_UNISTD_H=1",
4748
]
4849

utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@
171171
/* Define to 1 if you have the <sys/mman.h> header file. */
172172
#define HAVE_SYS_MMAN_H 1
173173

174+
/* Define to 1 if you have the <sys/ioctl.h> header file. */
175+
/* HAVE_SYS_IOCTL_H defined in Bazel */
176+
174177
/* Define to 1 if stat struct has st_mtimespec member .*/
175178
/* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */
176179

utils/bazel/llvm_configs/config.h.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@
164164
/* Define to 1 if you have the <sys/mman.h> header file. */
165165
#cmakedefine HAVE_SYS_MMAN_H ${HAVE_SYS_MMAN_H}
166166

167+
/* Define to 1 if you have the <sys/ioctl.h> header file. */
168+
#cmakedefine HAVE_SYS_IOCTL_H ${HAVE_SYS_IOCTL_H}
169+
167170
/* Define to 1 if stat struct has st_mtimespec member .*/
168171
#cmakedefine HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC ${HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC}
169172

0 commit comments

Comments
 (0)