forked from pool/openhpi
- Fix build due to compiler warnings in SLE and Leap 15:
A fix_implicit_declarations.patch OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/openhpi?expand=0&rev=39
This commit is contained in:
18
fix_implicit_declarations.patch
Normal file
18
fix_implicit_declarations.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
Author: Thomas Renninger <trenn@suse.de>
|
||||
|
||||
Fix compiler warnings
|
||||
|
||||
oa_soap_sensor.c:2209:9: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
|
||||
|
||||
Index: openhpi-3.8.0/plugins/oa_soap/oa_soap_utils.h
|
||||
===================================================================
|
||||
--- openhpi-3.8.0.orig/plugins/oa_soap/oa_soap_utils.h 2018-10-04 16:19:50.682977324 +0200
|
||||
+++ openhpi-3.8.0/plugins/oa_soap/oa_soap_utils.h 2018-10-04 16:20:29.393287079 +0200
|
||||
@@ -41,6 +41,7 @@
|
||||
/* Include files */
|
||||
#include <math.h>
|
||||
#include <ctype.h>
|
||||
+#include <string.h>
|
||||
|
||||
#include "oa_soap_calls.h"
|
||||
#include "oa_soap.h"
|
Reference in New Issue
Block a user