aboutsummaryrefslogtreecommitdiff
path: root/cmd-parse.y
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2019-06-05 06:44:08 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2019-06-05 06:44:08 +0100
commite252984993fdfd57a1fdc1eaf393e42e8589d623 (patch)
tree0f4f7beda1288b2990d0fd6691985e120411c2a2 /cmd-parse.y
parent17bc11bd157db83fd90051824c289712fbac7eae (diff)
downloadrtmux-e252984993fdfd57a1fdc1eaf393e42e8589d623.tar.gz
rtmux-e252984993fdfd57a1fdc1eaf393e42e8589d623.tar.bz2
rtmux-e252984993fdfd57a1fdc1eaf393e42e8589d623.zip
If only one of -x or -y is given, use the calculated size for the
other. Also fix some warnings. Pointed out by Ben Boeckel.
Diffstat (limited to 'cmd-parse.y')
-rw-r--r--cmd-parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-parse.y b/cmd-parse.y
index d369dc4e..6feeb35a 100644
--- a/cmd-parse.y
+++ b/cmd-parse.y
@@ -23,6 +23,7 @@
#include <ctype.h>
#include <errno.h>
#include <pwd.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>