[PATCH 1/4] git.c: extra #include for dietlibc (and possibly other C libraries)
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Dec 24, 2005, 12:11 UTC
- Message-ID
- <20051224121117.GB19136@mail.yhbt.net>
- In-Reply-To
- <20051224121007.GA19136@mail.yhbt.net>
struct winsize is defined in <termios.h>, and that's not pulled in by other #includes in that file
Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
git.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
ae5641fcbc58509572d080c33a20c829b82ae9b0
diff --git a/git.c b/git.c index e795ddb..434a3d9 100644 --- a/git.c +++ b/git.c @@ -9,6 +9,7 @@ #include <limits.h> #include <stdarg.h> #include <sys/ioctl.h> +#include <termios.h> #include "git-compat-util.h" #ifndef PATH_MAX
-- 1.0.GIT