summaryrefslogtreecommitdiff
path: root/libexec/ld.so/ldd/ldd.c
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-07-10 00:04:29 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-07-10 00:04:29 +0000
commit6c3b78320db59d66733755dd77e5d095dec46f61 (patch)
treecce9a63c58d691d47eb57d3a1dcf2b5c04355e3a /libexec/ld.so/ldd/ldd.c
parentf138d1da5ac5e4f052ce20134fa194b881c88ea0 (diff)
add missing includes
ok deraadt@ tedu@
Diffstat (limited to 'libexec/ld.so/ldd/ldd.c')
-rw-r--r--libexec/ld.so/ldd/ldd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ld.so/ldd/ldd.c b/libexec/ld.so/ldd/ldd.c
index 1fba905f8d2..5254134037a 100644
--- a/libexec/ld.so/ldd/ldd.c
+++ b/libexec/ld.so/ldd/ldd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldd.c,v 1.10 2003/06/03 01:27:31 art Exp $ */
+/* $OpenBSD: ldd.c,v 1.11 2003/07/10 00:04:28 david Exp $ */
/*
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>
* All rights reserved.
@@ -29,6 +29,7 @@
#include <elf_abi.h>
#include <err.h>
#include <fcntl.h>
+#include <string.h>
#include <unistd.h>
#include <sys/stat.h>