- include at last metalsvm/syscall.h to avoid redifinition of off_t and ssize_t
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@118 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
1f49e6a863
commit
dadfc19de6
7 changed files with 9 additions and 6 deletions
|
@ -17,7 +17,6 @@
|
|||
* This file is part of MetalSVM.
|
||||
*/
|
||||
|
||||
#include <metalsvm/syscall.h>
|
||||
#include "config.h"
|
||||
#include <_ansi.h>
|
||||
#include <_syslist.h>
|
||||
|
@ -25,6 +24,7 @@
|
|||
#undef errno
|
||||
extern int errno;
|
||||
#include "warning.h"
|
||||
#include <metalsvm/syscall.h>
|
||||
|
||||
int
|
||||
_DEFUN (close, (fildes),
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/* avoids redifinition in metalsvm/stddef.h */
|
||||
#define _SSIZE_T 1
|
||||
#define _OFF_T 1
|
||||
|
||||
/* Name of package. */
|
||||
#define PACKAGE MetalSVMGloss
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* This file is part of MetalSVM.
|
||||
*/
|
||||
|
||||
#include <metalsvm/syscall.h>
|
||||
#include "config.h"
|
||||
#include <_ansi.h>
|
||||
#include <_syslist.h>
|
||||
|
@ -27,6 +26,7 @@
|
|||
#undef errno
|
||||
extern int errno;
|
||||
#include "warning.h"
|
||||
#include <metalsvm/syscall.h>
|
||||
|
||||
int
|
||||
_DEFUN (fstat, (fildes, st),
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* This file is part of MetalSVM.
|
||||
*/
|
||||
|
||||
#include <metalsvm/syscall.h>
|
||||
#include "config.h"
|
||||
#include <_ansi.h>
|
||||
#include <_syslist.h>
|
||||
|
@ -25,6 +24,7 @@
|
|||
#undef errno
|
||||
extern int errno;
|
||||
#include "warning.h"
|
||||
#include <metalsvm/syscall.h>
|
||||
|
||||
int
|
||||
_DEFUN (_getpid, (),
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* This file is part of MetalSVM.
|
||||
*/
|
||||
|
||||
#include <metalsvm/syscall.h>
|
||||
#include "config.h"
|
||||
#include <_ansi.h>
|
||||
#include <_syslist.h>
|
||||
|
@ -25,6 +24,7 @@
|
|||
#undef errno
|
||||
extern int errno;
|
||||
#include "warning.h"
|
||||
#include <metalsvm/syscall.h>
|
||||
|
||||
int
|
||||
_DEFUN (_open, (file, flags, mode),
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* This file is part of MetalSVM.
|
||||
*/
|
||||
|
||||
#include <metalsvm/syscall.h>
|
||||
#include "config.h"
|
||||
#include <_syslist.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include <metalsvm/syscall.h>
|
||||
#include <_ansi.h>
|
||||
#include <_syslist.h>
|
||||
#include <errno.h>
|
||||
#undef errno
|
||||
extern int errno;
|
||||
#include "warning.h"
|
||||
#include <metalsvm/syscall.h>
|
||||
|
||||
int
|
||||
_DEFUN (write, (file, ptr, len),
|
||||
|
|
Loading…
Add table
Reference in a new issue