Commit 5bcb2948 authored by conrad's avatar conrad

Apply patch from dryeo, "off_t not always in stdio.h"

Closes ticket:413


git-svn-id: http://svn.annodex.net/liboggz/trunk@3719 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent ef13c05a
......@@ -28,7 +28,7 @@ AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h inttypes.h stdlib.h string.h unistd.h])
AC_CHECK_HEADERS([fcntl.h inttypes.h stdlib.h string.h sys/types.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_OFF_T
......
#include "config.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> /* For off_t not found in stdio.h */
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment