]> granicus.if.org Git - neomutt/commit
Fix compilation error on Solaris.
authorThomas Klausner <wiz@NetBSD.org>
Sat, 1 Jul 2017 09:39:14 +0000 (11:39 +0200)
committerThomas Klausner <wiz@NetBSD.org>
Sat, 1 Jul 2017 09:39:14 +0000 (11:39 +0200)
commit9941939a11695ba1e3f91ea13236eff331e8132f
tree548f102312005b51eaaf68f278d3ea448aa16760
parent3f32e937b04ae1ddc4419152a5705bb49da69984
Fix compilation error on Solaris.

  resize.c: In function 'mutt_resize_screen':
  resize.c:38:18: error: storage size of 'w' isn't known
     struct winsize w;
                    ^
  resize.c:47:19: error: 'TIOCGWINSZ' undeclared (first use in this function)
       if (ioctl(fd, TIOCGWINSZ, &w) != -1)
                     ^
resize.c