fixes for 64bit archs: don't assume a pointer is 32bit wide

Origin commit data
------------------
Branch: ni/coolstream
Commit: d806eeb544
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-06 (Sat, 06 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-10-06 17:49:16 +02:00
parent d26c759aa9
commit 485656f13a
15 changed files with 39 additions and 33 deletions

View File

@@ -33,12 +33,16 @@
#ifndef __FILE_H__
#define __FILE_H__
#include <config.h>
#if 0
/* this is already done by AC_SYS_LARGEFILE */
#include <features.h> /* make sure off_t has size 8
in __USE_FILE_OFFSET64 mode */
#ifndef __USE_FILE_OFFSET64
#error not using 64 bit file offsets
#endif /* __USE_FILE__OFFSET64 */
#endif
#include <sys/types.h>