Closed richmattes closed 12 years ago
When building with gcc-4.7, sys/types.h needs to be explicitly included in flexiport_types.h. I've added the trivial diff below.
diff -up ./include/flexiport/flexiport_types.h.gcc47 ./include/flexiport/flexiport_types.h --- ./include/flexiport/flexiport_types.h.gcc47 2012-05-25 22:24:56.118398545 -0400 +++ ./include/flexiport/flexiport_types.h 2012-05-25 22:25:12.838030652 -0400 @@ -39,6 +39,7 @@ #endif #else #include <stdint.h> + #include <sys/types.h> #endif #endif // __FLEXIPORT_TYPES_H
Thanks for the patch. I've applied it in HEAD.
When building with gcc-4.7, sys/types.h needs to be explicitly included in flexiport_types.h. I've added the trivial diff below.