emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105707: * buffer.h: Include <sys/typ


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105707: * buffer.h: Include <sys/types.h> instead of <time.h>.
Date: Sat, 10 Sep 2011 12:41:33 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105707
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sat 2011-09-10 12:41:33 -0700
message:
  * 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.
modified:
  src/ChangeLog
  src/buffer.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-09-10 18:14:50 +0000
+++ b/src/ChangeLog     2011-09-10 19:41:33 +0000
@@ -1,3 +1,9 @@
+2011-09-10  Paul Eggert  <address@hidden>
+
+       * 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  <address@hidden>
 
        * xml.c (parse_region): Make the parsing work for

=== modified file 'src/buffer.h'
--- a/src/buffer.h      2011-09-03 05:23:17 +0000
+++ b/src/buffer.h      2011-09-10 19:41:33 +0000
@@ -18,7 +18,7 @@
 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.  */
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]