diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-09-03 19:10:03 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-09-03 19:10:03 -0700 |
commit | 788b880617318c55db670e533ac3124ea77eafb9 (patch) | |
tree | 056422ed07886b553961acdead61c09e9cf24b97 /pcap.c | |
parent | 809478fe163f4987876d323fd91ba3664ecd4e74 (diff) |
Make sure sockutils.h is included before portability.h.
sockutils.h may include <crtdbg.h> on Windows, and portability.h expects
that, if <crtdbg.h> is going to be included, it'll be included before
portability.h, so that, if __STDC__ is 0, strdup will have been defined
by <crtdbg.h>, and portability.h won't define it only to have a later
include of <crtdbg.h> redefine it and provoke warnings.
Diffstat (limited to 'pcap.c')
0 files changed, 0 insertions, 0 deletions