diff options
author | Joachim Wiberg <troglobit@gmail.com> | 2022-05-30 05:35:06 +0200 |
---|---|---|
committer | Joachim Wiberg <troglobit@gmail.com> | 2022-05-30 05:35:06 +0200 |
commit | c78f381d2248f3115cc842ef83794eb40159a583 (patch) | |
tree | ba6fef37a9a55ad9bc86bb9c48ce5720ec7a12ad /include | |
parent | 8db2b67004db0a1630c6cb49b8eaec5ee02c9a6c (diff) | |
download | libnet-c78f381d2248f3115cc842ef83794eb40159a583.tar.gz |
Fix #139: ftbfs on FreeBSD
stdint.h is required to get UINT32_MAX et al on FreeBSD, and possibly
other *BSD as well, not just Win32. So moving this include to the
common include section.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libnet.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libnet.h.in b/include/libnet.h.in index 5fe2ebf..6e1fbe9 100644 --- a/include/libnet.h.in +++ b/include/libnet.h.in @@ -54,6 +54,7 @@ extern "C" { #include <string.h> #include <fcntl.h> #include <signal.h> +#include <stdint.h> #include <stdlib.h> #include <sys/stat.h> @@ -82,7 +83,6 @@ extern "C" { #if (__CYGWIN__) #include <sys/socket.h> #endif -#include <stdint.h> #include <ws2tcpip.h> #include <windows.h> #include <winsock2.h> |