fix bsd build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5226 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-05-28 05:52:34 +00:00
parent f704b3f623
commit f7b787c700
8 changed files with 24 additions and 7 deletions

View File

@@ -522,7 +522,9 @@ el_resize(EditLine *el)
sigset_t oset, nset;
(void) sigemptyset(&nset);
#ifdef SIGWINCH
(void) sigaddset(&nset, SIGWINCH);
#endif
(void) sigprocmask(SIG_BLOCK, &nset, &oset);
/* get the correct window size */