Skip to content

Fix compile issue wrt missing include#2

Open
cb57446 wants to merge 3 commits intohishamhm:masterfrom
4mig4:master
Open

Fix compile issue wrt missing include#2
cb57446 wants to merge 3 commits intohishamhm:masterfrom
4mig4:master

Conversation

@cb57446
Copy link

@cb57446 cb57446 commented Nov 1, 2018

Fix compile issue by adding missing include.

subprocess/posix/close_fds.c: In function ‘is_fd_in_sorted_fd_sequence’:
subprocess/posix/close_fds.c:91:22: warning: implicit declaration of function ‘luaL_len’; did you mean ‘luaL_ref’? [-Wimplicit-function-declaration]
     int search_max = luaL_len(L, FDS_TO_KEEP) - 1;
                      ^~~~~~~~
                      luaL_ref
subprocess/posix/close_fds.c:98:9: warning: implicit declaration of function ‘lua_geti’; did you mean ‘luaL_getn’? [-Wimplicit-function-declaration]
         lua_geti(L, FDS_TO_KEEP, middle + 1);
         ^~~~~~~~
         luaL_getn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants