Add HASP_USE_ETHSPI guard

This commit is contained in:
fvanroie 2024-03-02 19:57:52 +01:00
parent a51b3d820a
commit 70738fb361

View File

@ -11,6 +11,9 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#if defined(HASP_USE_ETHSPI)
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/cdefs.h> #include <sys/cdefs.h>
@ -688,3 +691,5 @@ err:
} }
return ret; return ret;
} }
#endif