Skip to content

Commit 26f4d9b

Browse files
mehendarkarprajwaltimwu
authored andcommitted
arg : Including limits file on AIX (ggml-org#12822)
1 parent a7bc1cb commit 26f4d9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/arg.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ struct common_hf_file_res {
163163
# if !defined(PATH_MAX)
164164
# define PATH_MAX MAX_PATH
165165
# endif
166+
#elif defined(_AIX)
167+
#include <sys/limits.h>
166168
#else
167169
#include <sys/syslimits.h>
168170
#endif

0 commit comments

Comments
 (0)