summaryrefslogtreecommitdiffstats
path: root/bin/cp
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2003-04-13 08:47:30 +0000
committerbde <bde@FreeBSD.org>2003-04-13 08:47:30 +0000
commit0f2f76bb732fd63d44ad2f323b86acb6c93a7230 (patch)
tree285978f9f425c3c989174705e5f850152a4c7040 /bin/cp
parent93c5f89d55357098e34dc2c962d3f62fb30c27af (diff)
downloadFreeBSD-src-0f2f76bb732fd63d44ad2f323b86acb6c93a7230.zip
FreeBSD-src-0f2f76bb732fd63d44ad2f323b86acb6c93a7230.tar.gz
Include <signal.h> instead of depending on namespace pollution in
<sys/param.h>. Include <sys/types.h> instead of of <sys/param.h> so that further such dependencies don't develop.
Diffstat (limited to 'bin/cp')
-rw-r--r--bin/cp/cp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index fa7bbc1..81c1acb 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -63,13 +63,14 @@ __FBSDID("$FreeBSD$");
* in "to") to form the final target path.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <fts.h>
#include <limits.h>
+#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
OpenPOWER on IntegriCloud