diff options
Diffstat (limited to 'lib/libc/gen/shm_open.c')
-rw-r--r-- | lib/libc/gen/shm_open.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/shm_open.c b/lib/libc/gen/shm_open.c index ccbe82a6c70..4e15bfa6689 100644 --- a/lib/libc/gen/shm_open.c +++ b/lib/libc/gen/shm_open.c @@ -1,4 +1,4 @@ -/* $OpenBSD: shm_open.c,v 1.3 2013/10/25 19:42:18 tedu Exp $ */ +/* $OpenBSD: shm_open.c,v 1.4 2013/11/12 06:09:48 deraadt Exp $ */ /* * Copyright (c) 2013 Ted Unangst <tedu@openbsd.org> * @@ -25,6 +25,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> /* SHA256_DIGEST_STRING_LENGTH includes nul */ /* "/tmp/" + sha256 + ".shm" */ |