summaryrefslogtreecommitdiff
path: root/korean/hanterm/files/patch-main.c
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-26 01:35:24 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-26 01:35:24 +0000
commit9c2af8b4c4e682f46f18a611e36640bc88f63a10 (patch)
tree091b323ea6776cda34507be24bf17d9d4d361cb4 /korean/hanterm/files/patch-main.c
parentFix build on -current (cope with removal of wait union, and remove (diff)
Fix build on -current (cope with removal of union wait, and remove
bogus duplicate declarations of things in system headers) Submitted by: mike
Notes
Notes: svn path=/head/; revision=68846
Diffstat (limited to 'korean/hanterm/files/patch-main.c')
-rw-r--r--korean/hanterm/files/patch-main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/korean/hanterm/files/patch-main.c b/korean/hanterm/files/patch-main.c
new file mode 100644
index 000000000000..ced16173058e
--- /dev/null
+++ b/korean/hanterm/files/patch-main.c
@@ -0,0 +1,12 @@
+--- main.c.orig Fri Oct 25 12:00:42 2002
++++ main.c Fri Oct 25 12:01:43 2002
+@@ -224,6 +224,9 @@
+ #ifndef linux
+ #include <sgtty.h>
+ #endif
++#ifdef __FreeBSD__
++#define USE_POSIX_WAIT
++#endif
+ #include <sys/resource.h>
+ #define HAS_UTMP_UT_HOST
+ #define HAS_BSD_GROUPS