]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
Compilation error fixed if dladdr is not available
authorTobias Brunner <tobias@strongswan.org>
Sat, 14 Jul 2012 09:43:40 +0000 (11:43 +0200)
committerTobias Brunner <tobias@strongswan.org>
Sat, 14 Jul 2012 09:43:40 +0000 (11:43 +0200)
src/libstrongswan/utils/backtrace.c

index a6bf87797bd883584918200912f02f6dfd47110c..b6015fb358709a30a4d212435494400a92941df0 100644 (file)
@@ -320,6 +320,12 @@ static void print_sourceline(FILE *file, char *filename, void *ptr)
 }
 
 #endif /* HAVE_BFD_H */
+
+#else /* !HAVE_DLADDR */
+
+void backtrace_init() {}
+void backtrace_deinit() {}
+
 #endif /* HAVE_DLADDR */
 
 METHOD(backtrace_t, log_, void,