Include stdlib.h due to getenv use
[yaz-moved-to-github.git] / ztest / read-marc.c
index 585b1ef..0b9dc1d 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 /** \file
@@ -26,6 +26,7 @@
 #include <sys/stat.h>
 #endif
 
+#include <stdlib.h>
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif