aboutsummaryrefslogtreecommitdiff
path: root/libmpio/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpio/defs.h')
-rw-r--r--libmpio/defs.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libmpio/defs.h b/libmpio/defs.h
index 2cdb225..89195f0 100644
--- a/libmpio/defs.h
+++ b/libmpio/defs.h
@@ -1,7 +1,7 @@
/* -*- linux-c -*- */
/*
- * $Id: defs.h,v 1.11 2002/09/28 00:32:41 germeier Exp $
+ * $Id: defs.h,v 1.12 2002/10/26 13:07:43 germeier Exp $
*
* Library for USB MPIO-*
*
@@ -30,6 +30,10 @@
#ifndef _MPIO_DEFS_H_
#define _MPIO_DEFS_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef unsigned int DWORD;
@@ -265,5 +269,9 @@ typedef struct { // Up to 13 characters of a long name
unsigned char name11_12[4]; // last 2 characters in name
} mpio_dir_slot_t;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _MPIO_DEFS_H_ */