Browse files

include/nagios: Re-update path to libnagios.h

In order to be able to install the nagios headers as a development
package the lib path really must be relative to the -I flag we
provide when compiling. Since we always *do* provide that -I flag
but can't do that when other people are building their packages
against our devel packages (neb-authors), we'll have to install
the devel packages in "/usr/include/nagios/lib/" or some such, and
then a relative path will work.

Users who can't get the path to work right now will have to re-run
./configure (which is now also mentioned in a comment right next
to the #include so as to alert the unwary developer...).

Signed-off-by: Andreas Ericsson <>

git-svn-id: 5f96b256-904b-4d8d-8c98-d829582c6739
  • Loading branch information...
1 parent a196d99 commit 466fbd3bd8c228f498f2d335d5ea8d38ef192628 @ageric ageric committed Aug 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/nagios.h
2 include/nagios.h
@@ -34,7 +34,7 @@
#include "locations.h"
#include "objects.h"
#include "macros.h"
-#include "../lib/libnagios.h"
+#include "lib/libnagios.h" /* re-run configure if this path doesn't work */
/************* MISC LENGTH/SIZE DEFINITIONS ***********/

0 comments on commit 466fbd3

Please sign in to comment.