Skip to content
Snippets Groups Projects
Commit 81108d8d authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Fix compilation on NetBSD.

parent e5bfdc15
No related branches found
No related tags found
No related merge requests found
...@@ -1758,6 +1758,7 @@ static int run_syscall_connect(struct state *state, ...@@ -1758,6 +1758,7 @@ static int run_syscall_connect(struct state *state,
return STATUS_OK; return STATUS_OK;
} }
#if defined(__FreeBSD__) || defined(linux)
static int run_syscall_sctp_peeloff(struct state *state, static int run_syscall_sctp_peeloff(struct state *state,
int script_copy_fd, int script_copy_fd,
int script_new_fd, int script_new_fd,
...@@ -1782,7 +1783,7 @@ static int run_syscall_sctp_peeloff(struct state *state, ...@@ -1782,7 +1783,7 @@ static int run_syscall_sctp_peeloff(struct state *state,
DEBUGP("success: setting socket to state %d\n", new_socket->state); DEBUGP("success: setting socket to state %d\n", new_socket->state);
return STATUS_OK; return STATUS_OK;
} }
#endif
/**************************************************************************** /****************************************************************************
* Here we have the parsing and invocation of the system calls that * Here we have the parsing and invocation of the system calls that
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment