diff options
author | obrien <obrien@FreeBSD.org> | 2003-02-15 18:53:17 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-02-15 18:53:17 +0000 |
commit | 822cce384d16c9a63f80e0c0765717d4a329368d (patch) | |
tree | 8ac609acaed8017450269720d947a6a7bd69e3ea /contrib/file/file.h | |
parent | 2ef757c3c642f5ce8353e106c1fbbd3cea2b14c1 (diff) | |
download | FreeBSD-src-822cce384d16c9a63f80e0c0765717d4a329368d.zip FreeBSD-src-822cce384d16c9a63f80e0c0765717d4a329368d.tar.gz |
Virgin import of Christos Zoulas's FILE 3.40.
Diffstat (limited to 'contrib/file/file.h')
-rw-r--r-- | contrib/file/file.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/file/file.h b/contrib/file/file.h index 76bf806..874beb9 100644 --- a/contrib/file/file.h +++ b/contrib/file/file.h @@ -1,6 +1,6 @@ /* * file.h - definitions for file(1) program - * @(#)$Id: file.h,v 1.43 2002/07/03 18:57:52 christos Exp $ + * @(#)$Id: file.h,v 1.45 2003/02/08 18:33:53 christos Exp $ * * Copyright (c) Ian F. Darwin, 1987. * Written by Ian F. Darwin. @@ -43,6 +43,8 @@ #include <stdio.h> #ifdef HAVE_STDINT_H #include <stdint.h> +#elif defined(HAVE_INTTYPES_H) +#include <inttypes.h> #endif /* Do this here and now, because struct stat gets re-defined on solaris */ #include <sys/stat.h> @@ -60,6 +62,10 @@ #define CHECK 1 #define COMPILE 2 +#ifndef __GNUC__ +#define __attribute__(a) +#endif + struct magic { uint16_t cont_level; /* level of ">" */ uint8_t nospflag; /* supress space character */ |