X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bus%2Fconfig-parser-common.c;h=c522ff49f75402db6dbb91fe4ddb64c45b3308d9;hb=0aedffae9a13211c01dadb6d991cb3522e09a9c7;hp=ebcb7177a47ad9f772df52d0674cb2760517cccd;hpb=18bcf800b65a8ac9de041c5070b3cd4bfb366485;p=platform%2Fupstream%2Fdbus.git diff --git a/bus/config-parser-common.c b/bus/config-parser-common.c index ebcb717..c522ff4 100644 --- a/bus/config-parser-common.c +++ b/bus/config-parser-common.c @@ -21,6 +21,7 @@ * */ +#include #include #include @@ -48,7 +49,7 @@ bus_config_parser_element_name_to_type (const char *name) } else if (strcmp (name, "type") == 0) { - return ELEMENT_TYPE; + return ELEMENT_CONFIGTYPE; } else if (strcmp (name, "fork") == 0) { @@ -168,7 +169,7 @@ bus_config_parser_element_type_to_name (ElementType type) return "servicehelper"; case ELEMENT_INCLUDEDIR: return "includedir"; - case ELEMENT_TYPE: + case ELEMENT_CONFIGTYPE: return "type"; case ELEMENT_SELINUX: return "selinux";