Commit 3c772611 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

check _XOPEN_SOURCE

parent cf5ae652
......@@ -59,7 +59,7 @@ cat > ${PROG} << EOR
# include <grib_api.h>
#endif
#if defined (HAVE_MMAP)
#if defined (HAVE_MMAP)
# include <sys/mman.h> /* mmap() is defined in this header */
#endif
......
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#endif
#ifdef HAVE_CONFIG_H
# include "config.h"
......
......@@ -2,7 +2,9 @@
# include "config.h"
#endif
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600 /* PTHREAD_MUTEX_RECURSIVE */
#endif
#include <stdlib.h>
#include <stdio.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment