Skip to content

Commit 0ec1222

Browse files
committed
Update config_linux.h
1 parent 47233ea commit 0ec1222

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

lib/cext/include/truffleruby/config_linux.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,18 +163,15 @@
163163
#define RUBY_FUNC_NONNULL(n,x) __attribute__ ((__nonnull__(n))) x
164164
#define RUBY_FUNCTION_NAME_STRING __func__
165165
#define ENUM_OVER_INT 1
166-
#define HAVE_DECL_SYS_NERR 1
166+
#define HAVE_DECL_SYS_NERR 0
167167
#define HAVE_DECL_GETENV 1
168168
#define SIZEOF_SIZE_T 8
169169
#define SIZEOF_PTRDIFF_T 8
170170
#define PRI_SIZE_PREFIX "z"
171171
#define PRI_PTRDIFF_PREFIX "t"
172172
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
173-
#define HAVE_ST_BLKSIZE 1
174173
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
175-
#define HAVE_ST_BLOCKS 1
176174
#define HAVE_STRUCT_STAT_ST_RDEV 1
177-
#define HAVE_ST_RDEV 1
178175
#define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
179176
#define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
180177
#define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
@@ -277,10 +274,15 @@
277274
#define HAVE_GETGRNAM 1
278275
#define HAVE_GETGRNAM_R 1
279276
#define HAVE_GETGROUPS 1
277+
#define HAVE_GETLOGIN 1
278+
#define HAVE_GETLOGIN_R 1
280279
#define HAVE_GETPGID 1
281280
#define HAVE_GETPGRP 1
282281
#define HAVE_GETPRIORITY 1
282+
#define HAVE_GETPWNAM 1
283283
#define HAVE_GETPWNAM_R 1
284+
#define HAVE_GETPWUID 1
285+
#define HAVE_GETPWUID_R 1
284286
#define HAVE_GETRANDOM 1
285287
#define HAVE_GETRESGID 1
286288
#define HAVE_GETRESUID 1
@@ -292,6 +294,7 @@
292294
#define HAVE_INITGROUPS 1
293295
#define HAVE_IOCTL 1
294296
#define HAVE_KILLPG 1
297+
#define HAVE_LCHMOD 1
295298
#define HAVE_LCHOWN 1
296299
#define HAVE_LINK 1
297300
#define HAVE_LLABS 1

0 commit comments

Comments
 (0)