summaryrefslogtreecommitdiff
path: root/src/exit/atexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/atexit.c')
-rw-r--r--src/exit/atexit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exit/atexit.c b/src/exit/atexit.c
index cd3b0a64..160d277a 100644
--- a/src/exit/atexit.c
+++ b/src/exit/atexit.c
@@ -1,6 +1,7 @@
#include <stdlib.h>
#include <stdint.h>
#include "libc.h"
+#include "lock.h"
/* Ensure that at least 32 atexit handlers can be registered without malloc */
#define COUNT 32