libnice overly generic <agent.h>
@pwithnall
Submitted by Philip Withnall Assigned to Philip Withnall @pwithnall
Description
(Migrated from Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90013)
libnice stores its headers in e.g. /usr/include/nice/ but 'pkg-config --cflags nice'
gives '-D_REENTRANT -I/usr/include/nice' meaning a generic-named header should as agent.h, debug.h or interfaces.h is includable as:
#include <agent.h>
#include <debug.h>
#include <interfaces.h>
Moreover, the include-guard used in e.g. agent.h:
#ifndef _AGENT_H
#define _AGENT_H
is overly generic as well, and risks collision with other packages.