Skip to content

Commit

Permalink
[access lists] fix build on BSD and add some include files around
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Feb 28, 2019
1 parent ba5fcad commit 9e41d07
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libknet/links_acl.c
Expand Up @@ -6,6 +6,8 @@
* This software licensed under GPL-2.0+, LGPL-2.0+
*/

#include "config.h"

#include <stdint.h>
#include <string.h>
#include <stdlib.h>
Expand Down
2 changes: 2 additions & 0 deletions libknet/links_acl_ip.c
Expand Up @@ -6,6 +6,8 @@
* This software licensed under GPL-2.0+, LGPL-2.0+
*/

#include "config.h"

#include <sys/socket.h>
#include <netinet/in.h>
#include <stdint.h>
Expand Down
1 change: 1 addition & 0 deletions libknet/tests/Makefile.am
Expand Up @@ -64,6 +64,7 @@ pckt_test_SOURCES = pckt_test.c

int_links_acl_test_SOURCES = int_links_acl.c \
../common.c \
../compat.c \
../logging.c \
../netutils.c \
../threads_common.c \
Expand Down
2 changes: 2 additions & 0 deletions libknet/tests/int_links_acl.c
Expand Up @@ -6,6 +6,8 @@
* This software licensed under GPL-2.0+, LGPL-2.0+
*/

#include "config.h"

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
Expand Down

0 comments on commit 9e41d07

Please sign in to comment.