Skip to content

Commit d690810

Browse files
jg1uaadmsc
authored andcommitted
add #include <signal.h> for OpenBSD
We have to take care of signal(2) behavior, BSD or SysV. But modern Linux (at least glibc-2.20 and later) works as BSD signal so this fix did not used with sigaction(2).
1 parent abfe8bb commit d690810

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <math.h>
1515
#include <stdio.h>
1616
#include <stdlib.h>
17+
#include <signal.h>
1718
#include <string.h>
1819
#include <sys/time.h>
1920
#include <sys/wait.h>

0 commit comments

Comments
 (0)