diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-01-23 09:28:27 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-01-23 09:28:44 -0800 |
commit | 0d9efb959673c3867e5f916793c83d3f08a2cf22 (patch) | |
tree | 26ea07007f9929eb2291420c9101acbf7e6c1799 /Makefile.in | |
parent | c331dc185f9a485974851c17ce1d12e28bb234d4 (diff) | |
download | tcpdump-0d9efb959673c3867e5f916793c83d3f08a2cf22.tar.gz |
On Windows, we have our own ether_ntohost(); declare it.
Move the source to our own ether_ntohost() to the "missing" directory,
just as we do in libpcap for the Windows snprintf() wrapper around
_snprintf().
Add a header file for it, and include it in both the wrapper and in
addrtoname.c on Windows.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 311bba6d..1ecef174 100644 --- a/Makefile.in +++ b/Makefile.in @@ -355,6 +355,8 @@ EXTRA_DIST = \ missing/strlcat.c \ missing/strlcpy.c \ missing/strsep.c \ + missing/win_ether_ntohost.c \ + missing/win_ether_ntohost.h \ mkdep \ packetdat.awk \ pcap_dump_ftell.c \ @@ -368,8 +370,7 @@ EXTRA_DIST = \ win32/prj/WinDump.dsp \ win32/prj/WinDump.dsw \ win32/prj/WinDump.sln \ - win32/prj/WinDump.vcproj \ - win32/src/ether_ntohost.c + win32/prj/WinDump.vcproj TEST_DIST= `find tests \( -name 'DIFF' -prune \) -o \( -name NEW -prune \) -o -type f \! -name '.*' \! -name '*~' -print` |