summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-02-10 13:01:55 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-10 13:01:55 -0800
commit2e9d7330aaadd06d828da52f73eeda7106ba4cb4 (patch)
tree3eb86a8f812e9f0fce0a877d5b46f96675ee6bda
parentMerge branch 'jc/maint-1.6.1-checkout-m-custom-merge' into maint (diff)
parentAdd missing #include to support TIOCGWINSZ on Solaris (diff)
downloadtgif-2e9d7330aaadd06d828da52f73eeda7106ba4cb4.tar.xz
Merge branch 'nd/include-termios-for-osol' into maint
* nd/include-termios-for-osol: Add missing #include to support TIOCGWINSZ on Solaris
-rw-r--r--git-compat-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 5c596875c2..a979e41c15 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -96,6 +96,7 @@
#include <sys/poll.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
+#include <termios.h>
#ifndef NO_SYS_SELECT_H
#include <sys/select.h>
#endif