supply g_memdup2() for glib before 2.68.
[pspp] / src / ui / gui / psppire-format.c
index 392ac73b2d19e2440817464207f2c82a42676573..1dde74fb0085638260bb2e1cdf5e2559465192ad 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2012 Free Software Foundation
+   Copyright (C) 2012, 2022 Free Software Foundation
 
    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
@@ -16,6 +16,7 @@
 
 #include <config.h>
 #include "ui/gui/psppire-format.h"
+#include "ui/gui/glibfix.h"
 
 static gpointer
 psppire_format_copy (gpointer boxed)