gluon-radv-filterd: add string.h and guard to mac.h

- #pragma once include guard
- include string.h to get memset and memcmp prototypes to fix respondd
  provider build warning
This commit is contained in:
Matthias Schiffer 2020-07-02 00:16:36 +02:00
parent fcd07de676
commit e32fa5bc64
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -1,4 +1,7 @@
#pragma once
#include <stdint.h> #include <stdint.h>
#include <string.h>
#include <linux/if_ether.h> #include <linux/if_ether.h>
#define F_MAC "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx" #define F_MAC "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx"