Skip to content

Commit

Permalink
[nozzle] include net/if.h to define IFNAMSIZ instead of redefine
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 Nov 28, 2017
1 parent 07dfcdc commit ad0d6da
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libnozzle/libnozzle.h
Expand Up @@ -10,10 +10,7 @@
#define __LIBNOZZLE_H__

#include <sys/types.h>

#ifndef IFNAMSIZ
#define IFNAMSIZ 16
#endif
#include <net/if.h>

/**
*
Expand Down

0 comments on commit ad0d6da

Please sign in to comment.