Compile maxkeys and maxpasswd as C++

This commit is contained in:
Esa Korhonen
2018-11-29 15:26:36 +02:00
parent a1e1ac0012
commit 17d46d9166
3 changed files with 3 additions and 3 deletions

View File

@ -97,11 +97,11 @@ endif()
target_link_libraries(maxscale maxscale-common) target_link_libraries(maxscale maxscale-common)
install_executable(maxscale core) install_executable(maxscale core)
add_executable(maxkeys maxkeys.c) add_executable(maxkeys maxkeys.cc)
target_link_libraries(maxkeys maxscale-common) target_link_libraries(maxkeys maxscale-common)
install_executable(maxkeys core) install_executable(maxkeys core)
add_executable(maxpasswd maxpasswd.c) add_executable(maxpasswd maxpasswd.cc)
target_link_libraries(maxpasswd maxscale-common) target_link_libraries(maxpasswd maxscale-common)
install_executable(maxpasswd core) install_executable(maxpasswd core)

View File

@ -23,7 +23,7 @@
* @endverbatim * @endverbatim
*/ */
#include <maxscale/cdefs.h> #include <maxscale/ccdefs.hh>
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>