Skip to content

Commit

Permalink
Fix implicit declarations on Linux
Browse files Browse the repository at this point in the history
ma_debug.c:47:5: warning: implicit declaration of function 'fwprintf'; did you mean 'fprintf'?
ma_dsn.c:284:15: warning: implicit declaration of function 'strcasestr'; did you mean 'strcasecmp'?
ma_common.c:45:17: warning: implicit declaration of function 'iswspace'
  • Loading branch information
AdamMajer authored and lawrinn committed Oct 12, 2020
1 parent 408be81 commit d56ab33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ma_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* Moved to avoid redundant dependencies */

#include <ma_odbc.h>
#include <wctype.h>

static unsigned int ValidChar(const char *start, const char *end)
{
Expand Down
1 change: 1 addition & 0 deletions ma_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
51 Franklin St., Fifth Floor, Boston, MA 02110, USA
*************************************************************************************/
#include <ma_odbc.h>
#include <wchar.h>

#ifdef MAODBC_DEBUG
extern char LogFile[];
Expand Down
1 change: 1 addition & 0 deletions ma_dsn.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
or write to the Free Software Foundation, Inc.,
51 Franklin St., Fifth Floor, Boston, MA 02110, USA
*************************************************************************************/
#define _GNU_SOURCE
#include <ma_odbc.h>


Expand Down

0 comments on commit d56ab33

Please sign in to comment.