Project

General

Profile

Actions

Bug #270

closed

NFQ compilation fails if libnfnetlink.h is missing

Added by Victor Julien almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

source-nfq.c:319: error: ‘SOL_NETLINK’ undeclared (first use in this function)

/usr/include/libnfnetlink/libnfnetlink.h

By installing (on Ubuntu) libnfnetlink-dev, things worked fine.

I think we should either define the missing define ourselves, or include and check for libnfnetlink.h.


Files

Actions #1

Updated by Eric Leblond almost 14 years ago

I've chosen to add the define missing in the code because it should be available in traditional header.

The attached patch fixes the issue.

Actions #2

Updated by Victor Julien almost 14 years ago

  • Status changed from Assigned to Closed

Applied, thanks Eric!

Actions

Also available in: Atom PDF