diff options
Diffstat (limited to 'sysdeps/nptl')
-rw-r--r-- | sysdeps/nptl/Makefile | 2 | ||||
-rw-r--r-- | sysdeps/nptl/fork.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/nptl/Makefile b/sysdeps/nptl/Makefile index 0707f130eb..27aa41af3c 100644 --- a/sysdeps/nptl/Makefile +++ b/sysdeps/nptl/Makefile @@ -17,7 +17,7 @@ # <https://www.gnu.org/licenses/>. ifeq ($(subdir),rt) -librt-sysdep_routines += timer_routines +sysdep_routines += timer_routines tests += tst-mqueue8x CFLAGS-tst-mqueue8x.c += -fexceptions diff --git a/sysdeps/nptl/fork.h b/sysdeps/nptl/fork.h index 1fc3a83bd3..8278ab6d11 100644 --- a/sysdeps/nptl/fork.h +++ b/sysdeps/nptl/fork.h @@ -20,6 +20,7 @@ #define _FORK_H #include <assert.h> +#include <kernel-posix-timers.h> #include <ldsodefs.h> #include <list.h> #include <mqueue.h> @@ -44,6 +45,7 @@ fork_system_setup_after_fork (void) __default_pthread_attr_lock = LLL_LOCK_INITIALIZER; call_function_static_weak (__mq_notify_fork_subprocess); + call_function_static_weak (__timer_fork_subprocess); } /* In case of a fork() call the memory allocation in the child will be |