Index: /trunk/psLib/src/config.h.in
===================================================================
--- /trunk/psLib/src/config.h.in	(revision 3149)
+++ /trunk/psLib/src/config.h.in	(revision 3150)
@@ -75,4 +75,19 @@
 #undef PACKAGE_VERSION
 
+/* The size of a `char', as computed by sizeof. */
+#undef SIZEOF_CHAR
+
+/* The size of a `int', as computed by sizeof. */
+#undef SIZEOF_INT
+
+/* The size of a `long', as computed by sizeof. */
+#undef SIZEOF_LONG
+
+/* The size of a `long long', as computed by sizeof. */
+#undef SIZEOF_LONG_LONG
+
+/* The size of a `short', as computed by sizeof. */
+#undef SIZEOF_SHORT
+
 /* Define to 1 if you have the ANSI C header files. */
 #undef STDC_HEADERS
Index: /trunk/psLib/src/sysUtils/sysUtils.i
===================================================================
--- /trunk/psLib/src/sysUtils/sysUtils.i	(revision 3149)
+++ /trunk/psLib/src/sysUtils/sysUtils.i	(revision 3150)
@@ -1,3 +1,4 @@
 /* sysUtils */
+%include "psType.h"
 %include "psAbort.h"
 %include "psConfigure.h"
@@ -8,5 +9,4 @@
 %include "psString.h"
 %include "psTrace.h"
-%include "psType.h"
 
 %inline %{
Index: /trunk/psLib/swig/Makefile.am
===================================================================
--- /trunk/psLib/swig/Makefile.am	(revision 3149)
+++ /trunk/psLib/swig/Makefile.am	(revision 3150)
@@ -12,5 +12,7 @@
 	-I$(SRCDIR)/src/fileUtils \
 	-I$(SRCDIR)/src/image \
-	-I$(SRCDIR)/src/sysUtils
+	-I$(SRCDIR)/src/sysUtils \
+	-I/usr/include \
+	-I/usr/local/include
 
 ####################################################
Index: /trunk/psLib/swig/pslib.i
===================================================================
--- /trunk/psLib/swig/pslib.i	(revision 3149)
+++ /trunk/psLib/swig/pslib.i	(revision 3150)
@@ -15,8 +15,16 @@
 %}
 
+/* XXX: this is temporary -- not portable, but should work with any current OS supported */
+typedef char int8_t;
+typedef unsigned char uint8_t;
+typedef short int16_t;
+typedef unsigned short uint16_t;
+typedef int int32_t;
+typedef unsigned int uint32_t;
+typedef long long int64_t;
+typedef unsigned long long uint64_t;
+
+
 /* grab the typedefs used throughout psLib, e.g. psU8, psU16,... */
-%import "psType.h"
-%import "psMemory.h"
-
 %include "cpointer.i"
 
