1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Include netutil.h for IPPROTO_SCTP constant where necessary. Fixes #868

This commit is contained in:
dmiller
2017-04-26 18:55:16 +00:00
parent c324237cf0
commit ab5e247cee
9 changed files with 33 additions and 5 deletions

View File

@@ -8,6 +8,10 @@
#include "nse_main.h"
#include "nse_utility.h"
#ifndef IPPROTO_SCTP
#include "libnetutil/netutil.h"
#endif
int nseU_checkinteger (lua_State *L, int arg)
{
lua_Number n = luaL_checknumber(L, arg);