diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2009-01-02 17:39:26 +0100 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2009-01-02 17:39:26 +0100 |
commit | a2ca4fdf6c6eee2d229c8cb7770f37accd467d93 (patch) | |
tree | b0bda9e7375b11dd8ec0d18c4bbaf82f424aa12b /database/eurephiadb_mapping.h | |
parent | f98f33a9cb5dcace621aa7d850adb506e92ca0ac (diff) | |
download | eurephia-a2ca4fdf6c6eee2d229c8cb7770f37accd467d93.tar.gz eurephia-a2ca4fdf6c6eee2d229c8cb7770f37accd467d93.tar.xz eurephia-a2ca4fdf6c6eee2d229c8cb7770f37accd467d93.zip |
Make it possible to compile plug-in again without eurephiadm enabled
Diffstat (limited to 'database/eurephiadb_mapping.h')
-rw-r--r-- | database/eurephiadb_mapping.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/database/eurephiadb_mapping.h b/database/eurephiadb_mapping.h index 4549292..eedb979 100644 --- a/database/eurephiadb_mapping.h +++ b/database/eurephiadb_mapping.h @@ -24,10 +24,6 @@ #ifndef EUREPHIADB_MAPPING_H # define EUREPHIADB_MAPPING_H -#ifdef HAVE_LIBXML2 -#include <libxml/tree.h> - - typedef enum eDBfieldType_e { ft_UNDEF, ft_INT, ft_STRING, ft_DATETIME, ft_PASSWD, ft_SETNULL } eDBfieldType; typedef struct _eDBfieldMap_s { @@ -144,9 +140,12 @@ static eDBfieldMap eTblMap_usercerts[] = { #endif // #ifdef EUREPHIADB_MAPPING_C +#ifdef HAVE_LIBXML2 +#include <libxml/tree.h> + void eDBfreeMapping(eDBfieldMap *p); eDBfieldMap *eDBxmlMapping(eurephiaCTX *ctx, eDBfieldMap *dbmap, const char *tblalias, xmlNode *fmap_n); char *eDBmkSortKeyString(eDBfieldMap *tfmap, const char *skeys_str); -#endif +#endif // HAVE_LIBXML2 #endif // !EUREPHIADB_MAPPING_H |