2003-01-09 09:38:05

by Miles Bader

[permalink] [raw]
Subject: [PATCH] Include <asm/posix_types.h> in the v850's asm/stat.h

This is needed by some includers of <asm/stat.h>.

diff -ruN -X../cludes linux-2.5.55-moo.orig/include/asm-v850/stat.h linux-2.5.55-moo/include/asm-v850/stat.h
--- linux-2.5.55-moo.orig/include/asm-v850/stat.h 2002-11-28 10:25:08.000000000 +0900
+++ linux-2.5.55-moo/include/asm-v850/stat.h 2003-01-09 14:07:36.000000000 +0900
@@ -1,6 +1,21 @@
+/*
+ * include/asm-v850/stat.h -- v850 stat structure
+ *
+ * Copyright (C) 2001,02,03 NEC Corporation
+ * Copyright (C) 2001,02,03 Miles Bader <[email protected]>
+ *
+ * This file is subject to the terms and conditions of the GNU General
+ * Public License. See the file COPYING in the main directory of this
+ * archive for more details.
+ *
+ * Written by Miles Bader <[email protected]>
+ */
+
#ifndef __V850_STAT_H__
#define __V850_STAT_H__

+#include <asm/posix_types.h>
+
struct stat {
__kernel_dev_t st_dev;
__kernel_ino_t st_ino;