diff libfdcore/extensions.c @ 812:677c32c48668

Fix compilation warning due to missing header, reported by Thomas
author Sebastien Decugis <sdecugis@freediameter.net>
date Sat, 25 Aug 2012 16:02:10 +0200
parents 4a9f08d6b6ba
children 1d2721778c7a
line wrap: on
line diff
--- a/libfdcore/extensions.c	Sat Aug 25 13:02:03 2012 +0200
+++ b/libfdcore/extensions.c	Sat Aug 25 16:02:10 2012 +0200
@@ -36,6 +36,7 @@
 #include "fdcore-internal.h"
 
 #include <dlfcn.h>	/* We may use libtool's <ltdl.h> later for better portability.... */
+#include <libgen.h>	/* for "basename" */
 
 /* plugins management */
 
"Welcome to our mercurial repository"