* buffer.h: Include <time.h>, for time_t.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 Jun 2011 20:52:30 +0000 (13:52 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 Jun 2011 20:52:30 +0000 (13:52 -0700)
Needed to build on FreeBSD 8.2.  Problem reported by Herbert J. Skuhra.

src/ChangeLog
src/buffer.h

index 8b65156..60e4c7c 100644 (file)
@@ -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.
index 3c91bdf..3540bd8 100644 (file)
@@ -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.  */