#define __PACKETLOGGER_H__
#include <glib.h>
-#include <wtap.h>
+#include "wtap.h"
-int packetlogger_open(wtap *wth, int *err, gchar **err_info _U_);
+wtap_open_return_val packetlogger_open(wtap *wth, int *err, gchar **err_info _U_);
#endif /* __PACKETLOGGER_H__ */