mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
1b91bd89d4
- Make sure that the variables are declared at the top of the block. - Add fix to enable inline for various compilers
53 lines
990 B
C
53 lines
990 B
C
/*********************************************************************
|
|
* Copyright 2016, UCAR/Unidata
|
|
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
|
|
*********************************************************************/
|
|
|
|
#ifndef D4INCLUDES_H
|
|
#define D4INCLUDES_H 1
|
|
|
|
#include "config.h"
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <inttypes.h>
|
|
#include <assert.h>
|
|
#ifdef HAVE_UNISTD_H
|
|
#include <unistd.h>
|
|
#endif
|
|
|
|
#include <curl/curl.h>
|
|
|
|
#ifdef HAVE_SYS_TIME_H
|
|
#include <sys/time.h>
|
|
#endif
|
|
|
|
#ifdef HAVE_GETRLIMIT
|
|
# ifdef HAVE_SYS_RESOURCE_H
|
|
# include <sys/time.h>
|
|
# endif
|
|
# ifdef HAVE_SYS_RESOURCE_H
|
|
# include <sys/resource.h>
|
|
# endif
|
|
#endif
|
|
|
|
#include "netcdf.h"
|
|
#include "nc.h"
|
|
#include "ncrc.h"
|
|
#include "ncbytes.h"
|
|
#include "nclist.h"
|
|
#include "ncuri.h"
|
|
#include "nclog.h"
|
|
#include "ncdap.h"
|
|
|
|
#include "d4util.h"
|
|
|
|
#include "ncd4types.h"
|
|
#include "ncd4.h"
|
|
|
|
#include "d4debug.h"
|
|
#include "d4chunk.h"
|
|
|
|
#endif /*D4INCLUDES_H*/
|
|
|