allow ebnc to build with g++
Philip S Tellis <[email protected]> Wed, 18 Feb 2004 18:52:48 +0530 (IST)
| Newsgroups | gmane.network.everybuddy.user |
|---|---|
| Message-ID | <[email protected]> |
g++ requires function prototypes for strcmp, strdup, free, strtol, etc, which are found in string.h and stdlib.h. This patch fixes that. Philip -- Mulder: I know what I saw, Scully. and I saw you about to do the wild thing with some stranger! "The X-Files: Genderbender" _______________________________________________ Everybuddy mailing list [email protected] http://lists.spine.cx/listinfo/everybuddy
nc-diff
(text/plain, 1.1 KB)
Index: service.cpp =================================================================== --- service.cpp (revision 269) +++ service.cpp (working copy) @@ -12,6 +12,8 @@ ***************************************************************************/ #include <iostream> +#include <string.h> +#include <stdlib.h> #include "service.h" /*** Action ***/ Index: account.cpp =================================================================== --- account.cpp (revision 269) +++ account.cpp (working copy) @@ -12,6 +12,8 @@ ***************************************************************************/ #include <iostream> +#include <string.h> +#include <stdlib.h> #include "service.h" #include "group.h" #include "account.h" Index: group.cpp =================================================================== --- group.cpp (revision 269) +++ group.cpp (working copy) @@ -12,6 +12,8 @@ ***************************************************************************/ #include <iostream> +#include <string.h> +#include <stdlib.h> #include "service.h" #include "account.h" #include "group.h"