[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANP3RGdpJDbfQVSSHh6YM5kD7HAsU-Qrk=Hn7Jf_HrOD-Go2PA@mail.gmail.com>
Date: Tue, 21 Apr 2020 07:03:18 -0700
From: Maciej Żenczykowski <zenczykowski@...il.com>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: Florian Westphal <fw@...len.de>,
Linux Network Development Mailing List
<netdev@...r.kernel.org>,
Netfilter Development Mailing List
<netfilter-devel@...r.kernel.org>
Subject: Re: [PATCH] libipt_ULOG.c - include strings.h for the definition of ffs()
note: I guess it could also be bionic vs libc header files...
but per man ffs:
http://man7.org/linux/man-pages/man3/ffs.3.html
#include <strings.h>
int ffs(int i);
#include <string.h>
int ffsl(long int i);
int ffsll(long long int i);
strings.h is the right header file.
Powered by blists - more mailing lists