diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index da0291161e..cdb5c2700c 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -160,6 +160,8 @@ void main_window_quit(void) wsApp->quit(); } +#endif /* HAVE_LIBPCAP */ + void exit_application(int status) { if (wsApp) { wsApp->quit(); @@ -167,8 +169,6 @@ void exit_application(int status) { exit(status); } -#endif /* HAVE_LIBPCAP */ - /* * Report an error in command-line arguments. * Creates a console on Windows.