summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
Diffstat (limited to 'conform')
-rw-r--r--conform/conformtest.pl1
-rw-r--r--conform/data/signal.h-data4
2 files changed, 3 insertions, 2 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index a121554d07..1357bb33d5 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -55,6 +55,7 @@ $CFLAGS{"XOPEN2K"} = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=600";
 # Some headers need a bit more attention.
 $mustprepend{'regex.h'} = "#include <sys/types.h>\n";
 $mustprepend{'sched.h'} = "#include <sys/types.h>\n";
+$mustprepend{'signal.h'} = "#include <pthread.h>\n";
 $mustprepend{'wordexp.h'} = "#include <stddef.h>\n";
 
 # Make a hash table from this information.
diff --git a/conform/data/signal.h-data b/conform/data/signal.h-data
index 4fcbf9a5a5..22e07fb257 100644
--- a/conform/data/signal.h-data
+++ b/conform/data/signal.h-data
@@ -16,7 +16,7 @@ type {struct sigevent}
 element {struct sigevent} int sigev_notify
 element {struct sigevent} int sigev_signo
 element {struct sigevent} {union sigval} sigev_value
-element {struct sigevent} {void(*)(union sigval)} sigev_notify_function
+element {struct sigevent} {void(*} sigev_notify_function )(union sigval)
 element {struct sigevent} {pthread_attr_t*} sigev_notify_attributes
 
 constant SIGEV_NONE
@@ -54,7 +54,7 @@ constant SIGPROF
 constant SIGSYS
 constant SIGTRAP
 constant SIGURG
-constant SIGVALRM
+constant SIGVTALRM
 constant SIGXCPU
 constant SIGXFSZ