aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2011-09-10 12:41:33 -0700
committerPaul Eggert <[email protected]>2011-09-10 12:41:33 -0700
commitdfb3f7559bbb4338ba01ec59e9188687a2bd7dc4 (patch)
tree83c39e0f04e1d4146b3d5099c5e5088ea0751e15 /src/buffer.h
parent0d3ff3756cdb68b973ec6921104d56e44ae96e79 (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/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 1 insertions, 1 deletions
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. */