diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-10 13:52:30 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-10 13:52:30 -0700 |
commit | cca693976c52acf26f5130848931d274522c69f9 (patch) | |
tree | 61fc9af3978e78c521fceba3f1a9ae1e3a9e0d04 /src | |
parent | 109e28d0b3eaeaa92ef2030e2ef3b18462702e58 (diff) | |
download | emacs-cca693976c52acf26f5130848931d274522c69f9.tar.gz emacs-cca693976c52acf26f5130848931d274522c69f9.tar.bz2 emacs-cca693976c52acf26f5130848931d274522c69f9.zip |
* buffer.h: Include <time.h>, for time_t.
Needed to build on FreeBSD 8.2. Problem reported by Herbert J. Skuhra.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 3 | ||||
-rw-r--r-- | src/buffer.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8b651569acc..60e4c7c3205 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2011-06-10 Paul Eggert <eggert@cs.ucla.edu> + * buffer.h: Include <time.h>, for time_t. + Needed to build on FreeBSD 8.2. Problem reported by Herbert J. Skuhra. + Fix minor problems found by static checking. * image.c (PixelGetMagickColor): Declare if ImageMagick headers don't. diff --git a/src/buffer.h b/src/buffer.h index 3c91bdfe570..3540bd87cea 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -18,6 +18,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ +#include <time.h> /* for time_t */ /* Accessing the parameters of the current buffer. */ |