| From 04d489936191e685123978a1ca370f9cc30e6a06 Mon Sep 17 00:00:00 2001 | |
| From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks> | |
| Date: Mon, 18 Apr 2016 21:17:26 +0200 | |
| Subject: [PATCH] Fix missing stddef.h include | |
| MIME-Version: 1.0 | |
| Content-Type: text/plain; charset=UTF-8 | |
| Content-Transfer-Encoding: 8bit | |
| Needed for wchar_t. Fixes build error: | |
| imbapi.h:140:9: error: unknown type name 'wchar_t' | |
| typedef wchar_t WCHAR; | |
| Upstream status: Pending | |
| https://sourceforge.net/p/ipmitool/mailman/message/35022779/ | |
| Signed-off-by: Jรถrg Krause <joerg.krause@embedded.rocks> | |
| --- | |
| src/plugins/imb/imbapi.h | 3 +++ | |
| 1 file changed, 3 insertions(+) | |
| diff --git a/src/plugins/imb/imbapi.h b/src/plugins/imb/imbapi.h | |
| index 6ba4121..6b39b47 100644 | |
| --- a/src/plugins/imb/imbapi.h | |
| +++ b/src/plugins/imb/imbapi.h | |
| @@ -33,6 +33,9 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| *----------------------------------------------------------------------*/ | |
| + | |
| +#include <stddef.h> | |
| + | |
| #ifndef _WINDEFS_H | |
| #define _WINDEFS_H | |
| #ifndef FALSE | |
| -- | |
| 2.10.2 | |