aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog6
-rw-r--r--src/buffer.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 60009bf5e0..f7e029271e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2011-09-10 Paul Eggert <[email protected]>
+
+ * 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 <[email protected]>
* xml.c (parse_region): Make the parsing work for
diff --git a/src/buffer.h b/src/buffer.h
index c50cfe56c7..73628fe6df 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -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. */