]> granicus.if.org Git - strace/commit
test: include headers for used funcs
authorMike Frysinger <vapier@gentoo.org>
Thu, 2 May 2013 19:43:45 +0000 (15:43 -0400)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 2 May 2013 22:41:50 +0000 (22:41 +0000)
commitb51ce624548b13aeead20cf519567a1ee9349749
treef2239fd743659e72cb638c1aa17b48ad166a89d1
parent8582f881eecc08f7c633af4d49bc14bd96539454
test: include headers for used funcs

These funcs use things like wait/write/read/strcmp but sometimes
don't include the right header for them.

* test/Makefile: Add -Wall to CFLAGS.
* test/clone.c: Include unistd.h.
* test/fork.c: Include sys/wait.h.
* test/sig.c: Include unistd.h.
* test/sigkill_rain.c: Include sys/wait.h.
* test/vfork.c: Include sys/wait.h.
* test/wait_must_be_interruptible.c: Include string.h
test/Makefile
test/clone.c
test/fork.c
test/sig.c
test/sigkill_rain.c
test/vfork.c
test/wait_must_be_interruptible.c