Fix for a possible ubuntu problem. Will have to check with users to
see if this works.
This commit is contained in:
parent
f999f1cfc0
commit
7fc902373e
2 changed files with 24 additions and 0 deletions
|
|
@ -10,6 +10,15 @@ extern char *malloc();
|
|||
#endif
|
||||
#include "fio.h"
|
||||
#include "fmt.h" /* for struct syl */
|
||||
|
||||
#ifndef NON_POSIX_STDIO
|
||||
#ifdef MSDOS
|
||||
#include "io.h"
|
||||
#else
|
||||
#include "unistd.h" /* for access */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,6 +1,21 @@
|
|||
#include "sysdep1.h" /* here to get stat64 on some badly designed Linux systems */
|
||||
#include "f2c.h"
|
||||
#include "fio.h"
|
||||
#ifndef KR_headers
|
||||
#undef abs
|
||||
#undef min
|
||||
#undef max
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifndef NON_POSIX_STDIO
|
||||
#ifdef MSDOS
|
||||
#include "io.h"
|
||||
#else
|
||||
#include "unistd.h" /* for access */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue