pkgsrc/emulators/ski/patches/patch-ai
2011-07-27 10:23:48 +00:00

60 lines
1.5 KiB
Text

$NetBSD: patch-ai,v 1.1.1.1 2011/07/27 10:23:49 cherry Exp $
--- src/netbsd/machdep-netbsd.h.orig 2009-12-16 12:47:32.000000000 +0000
+++ src/netbsd/machdep-netbsd.h
@@ -0,0 +1,55 @@
+/*
+ * Copyright (C) 1995-2007, Hewlett-Packard Development Company, L.P.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ */
+#ifndef _SKI_MACHDEP_H
+#define _SKI_MACHDEP_H
+
+#define SKI_NFDS 20
+
+typedef struct {
+ ADDR addr;
+ WORD len;
+} SscDiskReq;
+
+typedef struct {
+ int fd;
+ WORD count;
+} SscDiskStat;
+
+typedef struct {
+ WORD year;
+ WORD mon;
+ WORD mday;
+ WORD hour;
+ WORD min;
+ WORD sec;
+ WORD msec;
+ WORD wday;
+} SscTime;
+
+typedef struct {
+ WORD ssc_Sec;
+ WORD ssc_Usec;
+} SscTimeval;
+
+typedef struct {
+ WORD ssc_Minuteswest;
+ WORD ssc_Dsttime;
+} SscTimezone;
+
+#endif /* _SKI_MACHDEP_H */