Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Trunk Windows CMake builds are broken

From: "Gisle Vanem" <gvanem@xxxxxxxx>
Date: Thu, 21 Aug 2014 13:20:43 +0200
"Shanks, Graham (UK)" <graham.shanks@xxxxxxxxxxxxxx> wrote:

A better solution would be to move the local config.h into a subdirectory and then use the following:

#include “subdir/config.h”

Since several dependent packages could have a config.h in it's ./include dir,
(shadowing for Wireshark's "config.h"), why not rename it and instead say:
 '#include <ws_config.h>'.

I have hit this problem trying to build other programs.

Compare this to e.g.:
 wsutil\ws_cpuid.h
 g:\mingw32\lib\gcc\mingw32\4.7.2\include\cpuid.h

--gv