"config.h" need not and should not be included in any header

config.h is included in the source file before including the
header that uses it.
This commit is contained in:
João Valverde 2021-06-25 22:34:05 +01:00
parent 7aae691f7d
commit 472eaf911b
2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,9 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <ws_diag_control.h>
#include <assert.h>
#include <string.h>
#include <wiretap/file_wrappers.h>

View File

@ -13,8 +13,6 @@
#include <glib.h>
#include "config.h"
#include "ws_symbol_export.h"
#ifdef _WIN32