summaryrefslogtreecommitdiff
path: root/libgphoto2/gphoto2-abilities-list.c
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2005-04-29 22:43:51 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2005-04-29 22:43:51 +0000
commita6875b702c3a04cd70ae34e584ba852f00dc7e9b (patch)
tree568a2d9db5021e9223a724eb9cddca2bd52bc38f /libgphoto2/gphoto2-abilities-list.c
parent33838dd3196e585e82951abb3ad1b4d6acef1137 (diff)
downloadlibgphoto2-a6875b702c3a04cd70ae34e584ba852f00dc7e9b.tar.gz
Fix source files to compile with the shipped convenience libltdl.
HAVE_LTDL is only defined if we are using the system libltdl, so we cannot use it for conditionally either including ltdl.h or printing an error message. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7923 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/gphoto2-abilities-list.c')
-rw-r--r--libgphoto2/gphoto2-abilities-list.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libgphoto2/gphoto2-abilities-list.c b/libgphoto2/gphoto2-abilities-list.c
index e4fd967ef..cf5193739 100644
--- a/libgphoto2/gphoto2-abilities-list.c
+++ b/libgphoto2/gphoto2-abilities-list.c
@@ -25,11 +25,7 @@
#include <stdio.h>
#include <string.h>
-#ifdef HAVE_LTDL
-# include <ltdl.h>
-#else
-# error libltdl required!
-#endif
+#include <ltdl.h>
#include "gphoto2-result.h"
#include "gphoto2-port-log.h"