Index: trunk/archive/pslib/include/psStdArrays.h
===================================================================
--- trunk/archive/pslib/include/psStdArrays.h	(revision 218)
+++ trunk/archive/pslib/include/psStdArrays.h	(revision 226)
@@ -3,9 +3,10 @@
 
 #include <complex.h>
+#include <stdint.h>
 #include "psArray.h"
 
 
 /** Types of the elements of vectors, matrices, etc. */
-enum {
+typedef enum {
     PS_TYPE_CHAR,			///< Character
     PS_TYPE_SHORT,			///< Short integer
@@ -18,10 +19,10 @@
     PS_TYPE_FLOAT,			///< Floating point
     PS_TYPE_DOUBLE,			///< Double-precision floating point
-    PS_TYPE_COMPLEX			///< Complex numbers consisting of floating point
-    PS_TYPE_OTHER			///< Something else that's not supported for arithmetic
+    PS_TYPE_COMPLEX,			///< Complex numbers consisting of floating point
+    PS_TYPE_OTHER,			///< Something else that's not supported for arithmetic
 } psElemType;
 
 /** Dimensions of a data type */
-enum {
+typedef enum {
     PS_DIMEN_SCALAR,			///< Scalar
     PS_DIMEN_VECTOR,			///< A vector
@@ -33,6 +34,6 @@
 /** The type of a data type */
 typedef struct {
-    enum psElemType type;		///< The type
-    enum psDimen dimen;			///< The dimensionality
+    psElemType type;			///< The type
+    psDimen dimen;			///< The dimensionality
 } psType;
 
@@ -72,5 +73,5 @@
 /** An array of real numbers */
 typedef struct {
-    enum psType type;			///< Type of data.  THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!
+    psType type;			///< Type of data.  THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!
     int size;				///< Total number of elements available
     int n;				///< Number of elements in use
@@ -102,5 +103,5 @@
 /** An array of complex numbers */
 typedef struct {
-    enum psType type;			///< Type of data.  THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!
+    psType type;			///< Type of data.  THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!
     int size;				///< Total number of elements available
     int n;				///< Number of elements in use
@@ -124,5 +125,5 @@
 /** An array of integers */
 typedef struct {
-    enum psType type;			///< Type of data.  THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!
+    psType type;			///< Type of data.  THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!
     int size;				///< Total number of elements available
     int n;				///< Number of elements in use
@@ -146,5 +147,5 @@
 /** An array of double-precision real numbers */
 typedef struct {
-    enum psType type;			///< Type of data.  THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!
+    psType type;			///< Type of data.  THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!
     int size;				///< Total number of elements available
     int n;				///< Number of elements in use
@@ -168,5 +169,5 @@
 /** An array of real vectors */
 typedef struct {
-    enum psType type;			///< Type of data.  THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!
+    psType type;			///< Type of data.  THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!
     int size;				///< Total number of elements available
     int n;				///< Number of elements in use
