Include <glib.h> to declare "g_strdup_printf()".

Properly declare "cant_load_winpcap_err()".

svn path=/trunk/; revision=16110
This commit is contained in:
Guy Harris 2005-10-04 07:07:15 +00:00
parent bfcbcfb4ea
commit f7482d1448
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,8 @@
#ifdef HAVE_LIBPCAP
#include <glib.h>
#include "capture_errs.h"
#ifdef _WIN32

View File

@ -26,7 +26,7 @@
#ifdef HAVE_LIBPCAP
#ifdef _WIN32
extern const char *cant_load_winpcap_err(void);
extern char *cant_load_winpcap_err(void);
#endif /* _WIN32 */
#endif /* HAVE_LIBPCAP */