]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-dhcp-relay: use forward declarations
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 21 May 2026 22:10:46 +0000 (07:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 21 May 2026 23:33:48 +0000 (08:33 +0900)
src/systemd/sd-dhcp-relay.h

index 47c42a21ddb75694b062511d2bf07be3e47c5f13..ae8c8c8007ddfbf9112f2e85f5f7ba5c4f76f941 100644 (file)
   along with systemd; If not, see <https://www.gnu.org/licenses/>.
 ***/
 
-#include <netinet/in.h>
-#include <sys/uio.h>
-
 #include "_sd-common.h"
 
 _SD_BEGIN_DECLARATIONS;
 
+struct in_addr;
+struct iovec;
+
 typedef struct sd_event sd_event;
 typedef struct sd_dhcp_relay sd_dhcp_relay;
 typedef struct sd_dhcp_relay_interface sd_dhcp_relay_interface;