- 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:
stefan 2010-08-22 09:54:22 +00:00
parent 1f49e6a863
commit dadfc19de6
7 changed files with 9 additions and 6 deletions

View file

@ -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),

View file

@ -1,3 +1,7 @@
/* avoids redifinition in metalsvm/stddef.h */
#define _SSIZE_T 1
#define _OFF_T 1
/* Name of package. */
#define PACKAGE MetalSVMGloss

View file

@ -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),

View file

@ -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, (),

View file

@ -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),

View file

@ -17,7 +17,6 @@
* This file is part of MetalSVM.
*/
#include <metalsvm/syscall.h>
#include "config.h"
#include <_syslist.h>
#include <errno.h>

View file

@ -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),