diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2024-04-15 09:07:41 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2024-04-15 09:07:41 +0100 |
commit | dd4c0109a93eee6830d55612f106a711dfd83791 (patch) | |
tree | 488d8f4655491e51abc20b9de2fb70de2eaae64a /compat | |
parent | 43530d4397f94beed27acb8f5610338b6dbcc05a (diff) |
Missing headers for Android, from Biswapriyo Nath.
Diffstat (limited to 'compat')
-rw-r--r-- | compat/htonll.c | 1 | ||||
-rw-r--r-- | compat/ntohll.c | 1 | ||||
-rw-r--r-- | compat/setproctitle.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/compat/htonll.c b/compat/htonll.c index aef65983..86f34b46 100644 --- a/compat/htonll.c +++ b/compat/htonll.c @@ -14,6 +14,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <arpa/inet.h> #include <sys/types.h> #include "compat.h" diff --git a/compat/ntohll.c b/compat/ntohll.c index c2fe1bb7..b1f77ca7 100644 --- a/compat/ntohll.c +++ b/compat/ntohll.c @@ -14,6 +14,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <arpa/inet.h> #include <sys/types.h> #include "compat.h" diff --git a/compat/setproctitle.c b/compat/setproctitle.c index e72ae274..99fad55c 100644 --- a/compat/setproctitle.c +++ b/compat/setproctitle.c @@ -17,6 +17,7 @@ #include <sys/types.h> #include <stdarg.h> +#include <stdlib.h> #include <string.h> #include "compat.h" |