diff options
author | Paul Eggert <[email protected]> | 2011-09-10 12:41:33 -0700 |
---|---|---|
committer | Paul Eggert <[email protected]> | 2011-09-10 12:41:33 -0700 |
commit | dfb3f7559bbb4338ba01ec59e9188687a2bd7dc4 (patch) | |
tree | 83c39e0f04e1d4146b3d5099c5e5088ea0751e15 /src | |
parent | 0d3ff3756cdb68b973ec6921104d56e44ae96e79 (diff) |
* 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.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 6 | ||||
-rw-r--r-- | src/buffer.h | 2 |
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. */ |