summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2016-04-18 19:30:00 +0300
committerAlexander Amelkin <alexander@amelkin.msk.ru>2018-12-07 18:46:55 +0300
commit34fc86bd751f29a342c8568357bea2deb4cb8870 (patch)
tree4168a4eaee73b1f822870e6e5a3f8be99fec88cb
parent9ec2232321a7bca7e1fb8f939d071f12c8dfa7fd (diff)
downloadipmitool-34fc86bd751f29a342c8568357bea2deb4cb8870.tar.gz
cygwin: imb: Fix build error (wchar_t)
For Win32/Cygwin, the imb plugin was failing to build with the following message: imbapi.h:140:9: error: unknown type name 'wchar_t' typedef wchar_t WCHAR; Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
-rw-r--r--src/plugins/imb/imbapi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/imb/imbapi.h b/src/plugins/imb/imbapi.h
index 6b74029..12e67fb 100644
--- a/src/plugins/imb/imbapi.h
+++ b/src/plugins/imb/imbapi.h
@@ -35,6 +35,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*----------------------------------------------------------------------*/
#ifndef _WINDEFS_H
#define _WINDEFS_H
+
+#include <stddef.h>
+
#ifndef FALSE
#define FALSE 0
#endif