#include "libpspp/assertion.h"
#include "libpspp/cast.h"
+#include "libpspp/message.h"
#include "libpspp/str.h"
#include "libpspp/temp-file.h"
#include "libpspp/version.h"
#include "output/text-item.h"
#include "gl/xalloc.h"
-#include "gl/error.h"
#include "gettext.h"
#define _(msgid) gettext (msgid)
fp = create_temp_file ();
if (fp == NULL)
{
- error (0, errno, _("error creating temporary file"));
+ msg_error (errno, _("error creating temporary file"));
return false;
}