* buffer.h: Include <sys/types.h> instead of <time.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Sep 2011 19:41:33 +0000 (12:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Sep 2011 19:41:33 +0000 (12:41 -0700)
Otherwise, off_t wasn't defined on FreeBSD 9.0-BETA2 i386.
Problem reported by Herbert J. Skuhra.

src/ChangeLog
src/buffer.h

index 60009bf..f7e0292 100644 (file)
@@ -1,3 +1,9 @@
+2011-09-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * buffer.h: Include <sys/types.h> instead of <time.h>.
+       Otherwise, off_t wasn't defined on FreeBSD 9.0-BETA2 i386.
+       Problem reported by Herbert J. Skuhra.
+
 2011-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * xml.c (parse_region): Make the parsing work for
index c50cfe5..73628fe 100644 (file)
@@ -18,7 +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 */
+#include <sys/types.h> /* for off_t, time_t */
 
 /* Accessing the parameters of the current buffer.  */