Skip to content

Commit

Permalink
Include sys/types.h for u_int to support DragonFly BSD
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit committed Jan 22, 2023
1 parent c6086cc commit 955b4c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
*/

#include <errno.h>
#include <sys/types.h> /* needed for u_int on DragonFly BSD */
#include <ifaddrs.h>
#include <netdb.h>
#include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions src/mcsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
*/

#include "config.h"
#include <sys/types.h> /* needed for u_int on DragonFly BSD */
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <netinet/in.h>
Expand Down

0 comments on commit 955b4c8

Please sign in to comment.