aboutsummaryrefslogtreecommitdiff
path: root/local.c
diff options
context:
space:
mode:
Diffstat (limited to 'local.c')
-rw-r--r--local.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/local.c b/local.c
index c5dfa3d8..c7c2e90d 100644
--- a/local.c
+++ b/local.c
@@ -1,4 +1,4 @@
-/* $Id: local.c,v 1.16 2007-10-24 11:45:25 nicm Exp $ */
+/* $Id: local.c,v 1.17 2007-10-31 14:26:26 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -24,9 +24,10 @@
#include <stdlib.h>
#include <string.h>
#define TTYDEFCHARS
+/* glibc requires unistd.h before termios.h for TTYDEFCHARS. */
+#include <unistd.h>
#include <termios.h>
#include <term.h>
-#include <unistd.h>
#include "tmux.h"