Some relative include paths in subdirectories (src/daemon/protocols
and src/lib/atoms) were written relative to the parent directories
(src/daemon and src/lib). This was okay in automake builds but
caused errors when porting to other build systems (for example,
Android make).
13 files changed:
*/
/* We also supports FDP which is very similar to CDPv1 */
-#include "lldpd.h"
-#include "frame.h"
+#include "../lldpd.h"
+#include "../frame.h"
/*
* CDP Requests Power at the switch output and therefore has to take into
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "lldpd.h"
-#include "frame.h"
+#include "../lldpd.h"
+#include "../frame.h"
#ifdef ENABLE_EDP
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "lldpd.h"
-#include "frame.h"
+#include "../lldpd.h"
+#include "../frame.h"
#include <unistd.h>
#include <errno.h>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "lldpd.h"
-#include "frame.h"
+#include "../lldpd.h"
+#include "../frame.h"
#ifdef ENABLE_SONMP
#include <string.h>
#include <arpa/inet.h>
-#include "lldpctl.h"
-#include "../log.h"
-#include "atom.h"
-#include "helpers.h"
+#include "../lldpctl.h"
+#include "../../log.h"
+#include "../atom.h"
+#include "../helpers.h"
static lldpctl_map_t chassis_id_subtype_map[] = {
{ LLDP_CHASSISID_SUBTYPE_IFNAME, "ifname"},
#include <arpa/inet.h>
#include "../lldpctl.h"
-#include "../log.h"
-#include "atom.h"
-#include "helpers.h"
+#include "../../log.h"
+#include "../atom.h"
+#include "../helpers.h"
static struct atom_map bond_slave_src_mac_map = {
.key = lldpctl_k_config_bond_slave_src_mac_type,
#include <string.h>
#include <arpa/inet.h>
-#include "lldpctl.h"
-#include "../log.h"
-#include "atom.h"
-#include "helpers.h"
+#include "../lldpctl.h"
+#include "../../log.h"
+#include "../atom.h"
+#include "../helpers.h"
#ifdef ENABLE_CUSTOM
#include <string.h>
#include <arpa/inet.h>
-#include "lldpctl.h"
-#include "../log.h"
-#include "atom.h"
-#include "helpers.h"
+#include "../lldpctl.h"
+#include "../../log.h"
+#include "../atom.h"
+#include "../helpers.h"
#ifdef ENABLE_DOT1
#include <string.h>
#include <arpa/inet.h>
-#include "lldpctl.h"
-#include "../log.h"
-#include "atom.h"
-#include "helpers.h"
+#include "../lldpctl.h"
+#include "../../log.h"
+#include "../atom.h"
+#include "../helpers.h"
#ifdef ENABLE_DOT3
#include <string.h>
#include <arpa/inet.h>
-#include "lldpctl.h"
-#include "../log.h"
-#include "atom.h"
-#include "helpers.h"
+#include "../lldpctl.h"
+#include "../../log.h"
+#include "../atom.h"
+#include "../helpers.h"
static int
_lldpctl_atom_new_interfaces_list(lldpctl_atom_t *atom, va_list ap)
#include <string.h>
#include <arpa/inet.h>
-#include "lldpctl.h"
-#include "../log.h"
-#include "atom.h"
-#include "helpers.h"
-#include "fixedpoint.h"
+#include "../lldpctl.h"
+#include "../../log.h"
+#include "../atom.h"
+#include "../helpers.h"
+#include "../fixedpoint.h"
#ifdef ENABLE_LLDPMED
#include <string.h>
#include <arpa/inet.h>
-#include "lldpctl.h"
-#include "../log.h"
-#include "atom.h"
-#include "helpers.h"
+#include "../lldpctl.h"
+#include "../../log.h"
+#include "../atom.h"
+#include "../helpers.h"
static int
_lldpctl_atom_new_mgmts_list(lldpctl_atom_t *atom, va_list ap)
#include <string.h>
#include <arpa/inet.h>
-#include "lldpctl.h"
-#include "../log.h"
-#include "atom.h"
-#include "helpers.h"
+#include "../lldpctl.h"
+#include "../../log.h"
+#include "../atom.h"
+#include "../helpers.h"
static struct atom_map lldpd_protocol_map = {
.key = lldpctl_k_port_protocol,