X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fconfigfile.c;h=3248b65a066ecc27f7f761a05038da3b236a9435;hb=6a5022cd9488c657811fc09beba4812ca65756ce;hp=be8f77acd1d1f213e3d8118b8d4c5a2d6328099f;hpb=065388a122bacc9a9eff97609668d40ca1b84d39;p=dockapps%2Fwmnotify.git diff --git a/src/configfile.c b/src/configfile.c index be8f77a..3248b65 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -22,11 +22,12 @@ # include "config.h" #endif +#include +#include #include #include #include #include -#include #if STDC_HEADERS # include @@ -283,7 +284,7 @@ static void ParseConfigurationFile(FILE *file) } else if (STREQ(token, "port")) { token = GetArguments("port", true); wmnotify_infos.port = - (u_int16_t) GetNumber(token, "port"); + (uint16_t) GetNumber(token, "port"); } else if (STREQ(token, "username")) {