1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 04:11:35 +01:00

Fixed compilation error in OSX. Fixed bug when sending IP PDUs in BSD.

This commit is contained in:
Matias Fontanini
2012-12-04 16:15:08 -03:00
parent 647ba1f46e
commit 356fe00aad
4 changed files with 16 additions and 21 deletions

View File

@@ -32,9 +32,11 @@
#include <stdexcept>
#include <algorithm>
#include <utility>
#include "macros.h"
#ifndef WIN32
#ifdef BSD
#if defined(BSD) || defined(__APPLE__)
#include <sys/types.h>
#include <net/if_dl.h>
#else
#include <netpacket/packet.h>