* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
-#include "config.h"
+#include "gmxpre.h"
+
+#include "xutil.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/smalloc.h"
-#include "typedefs.h"
-#include "xutil.h"
+
#include "Xstuff.h"
int CheckWin(Window win, const char *file, int line)
win->cursor = 0;
if (text)
{
- win->text = strdup(text);
+ win->text = gmx_strdup(text);
}
else
{