diff options
author | Christos Zoulas <christos@zoulas.com> | 2008-10-20 15:14:17 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2008-10-20 15:14:17 +0000 |
commit | bfcef73c9090e97e558a2f242c6fb9fa216be2b7 (patch) | |
tree | 32b5dee89d11a4997a84f71590717a2b889f14c4 /src/cdf_time.c | |
parent | 9705b9b2f010aca8638e6124d0141eb1d6392a5f (diff) | |
download | file-git-bfcef73c9090e97e558a2f242c6fb9fa216be2b7.tar.gz |
cleanups for non BSD compilation.
Diffstat (limited to 'src/cdf_time.c')
-rw-r--r-- | src/cdf_time.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cdf_time.c b/src/cdf_time.c index 96321fce..dbabae61 100644 --- a/src/cdf_time.c +++ b/src/cdf_time.c @@ -23,11 +23,24 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <sys/types.h> #include <stdio.h> #include <time.h> +#ifdef TEST #include <err.h> +#endif #include <string.h> #include <errno.h> +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif +#ifdef HAVE_INTTYPES_H +#include <inttypes.h> +#endif #include "cdf.h" |