]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add #includes to avoid compile warnings.
authorNicholas Nethercote <n.nethercote@gmail.com>
Thu, 4 Dec 2003 16:12:21 +0000 (16:12 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Thu, 4 Dec 2003 16:12:21 +0000 (16:12 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2093

corecheck/tests/fdleak_open.c
corecheck/tests/fdleak_socketpair.c

index 16830fe2aea95b70892bc95cbf5e44e305df7fa9..22b4228d848543240214cbdcd82395d3618651ca 100644 (file)
@@ -1,5 +1,5 @@
 #include <fcntl.h>
-
+#include <unistd.h>
 int
 main (int argc, char **argv)
 {
index a8ddf9c105192e03902352f3fee3cb40dc46d0f3..da3e91204e29c9dd3c6335dec94e870f52770185 100644 (file)
@@ -1,5 +1,5 @@
 #include <sys/socket.h>
-
+#include <unistd.h>
 int
 main (int argc, char **argv)
 {