]> code.delx.au - gnu-emacs/blobdiff - oldXMenu/FindSel.c
Remove separate pool for popup dialogs (bug#23856)
[gnu-emacs] / oldXMenu / FindSel.c
index 72ee142dc80a07ff10d30be8407e2ac31b626cd6..991e1caf87f8013558eedf0d8764623bc0e58747 100644 (file)
@@ -3,12 +3,12 @@
 #include "copyright.h"
 
 /*
-Copyright (C) 2001-201 Free Software Foundation, Inc.
+Copyright (C) 2001-2016 Free Software Foundation, Inc.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -31,6 +31,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "XMenuInt.h"
+#include <string.h>
 
 int
 XMenuFindSelection(register XMenu *menu, int p_num, register char *label)
@@ -83,4 +84,3 @@ XMenuFindSelection(register XMenu *menu, int p_num, register char *label)
     _XMErrorCode = XME_S_NOT_FOUND;
     return (XM_FAILURE);
 }
-