summaryrefslogtreecommitdiff
path: root/tests/locale.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/locale.in.h')
-rw-r--r--tests/locale.in.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/locale.in.h b/tests/locale.in.h
index 10629f6c..0557c9f1 100644
--- a/tests/locale.in.h
+++ b/tests/locale.in.h
@@ -1,5 +1,5 @@
/* A POSIX <locale.h>.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2009 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
@@ -26,6 +26,9 @@
#ifndef _GL_LOCALE_H
#define _GL_LOCALE_H
+/* NetBSD 5.0 mis-defines NULL. */
+#include <stddef.h>
+
/* The LC_MESSAGES locale category is specified in POSIX, but not in ISO C.
On systems that don't define it, use the same value as GNU libintl. */
#if !defined LC_MESSAGES