summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-misc.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-08-13 20:48:07 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-08-13 20:48:07 +1000
commitf38ea77c03a5473ec43fe07ec24cfb1ca7f27034 (patch)
tree9f7f70786068993c2cbe450f110863b841c6b454 /openbsd-compat/bsd-misc.h
parent1c52ee3e6f2653a474c8a31aafa5a7e595dd8081 (diff)
downloadopenssh-git-f38ea77c03a5473ec43fe07ec24cfb1ca7f27034.tar.gz
- (dtucker) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h]
Add a tcsendbreak function for platforms that don't have one, based on the one from OpenBSD. Any more of these and I'll split them out into bsd-termio.[ch].
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r--openbsd-compat/bsd-misc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index 03a1f3af..f2fbdc2e 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -22,7 +22,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* $Id: bsd-misc.h,v 1.9 2003/08/02 13:31:42 dtucker Exp $ */
+/* $Id: bsd-misc.h,v 1.10 2003/08/13 10:48:07 dtucker Exp $ */
#ifndef _BSD_MISC_H
#define _BSD_MISC_H
@@ -91,6 +91,10 @@ int nanosleep(const struct timespec *, struct timespec *);
#ifndef HAVE_TCGETPGRP
pid_t tcgetpgrp(int);
-#endif /* HAVE_TCGETPGRP */
+#endif
+
+#ifndef HAVE_TCSENDBREAK
+int tcsendbreak(int, int);
+#endif
#endif /* _BSD_MISC_H */