built_in: changed RUNTIME_PAGE_SIZE to use sysconf(_SC_PAGE_SIZE) instead of getpages...
commita0e49fe80ba94071e4019edc5bbb128e0db1ec35
authorChristian Wiese <chris@opensde.org>
Sat, 12 Apr 2014 01:21:10 +0000 (12 03:21 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Sat, 12 Apr 2014 09:28:06 +0000 (12 11:28 +0200)
tree49bfbb032b97ed1a553d58eceba9a2c22d99560f
parenta4772aa046708acfafdf2957ed756d076821bba5
built_in: changed RUNTIME_PAGE_SIZE to use sysconf(_SC_PAGE_SIZE) instead of getpagesize()

getpagesize(2) is considered legacy and has been dropped with POSIX.1-2001.

See discussion: https://github.com/netsniff-ng/netsniff-ng/pull/112

Signed-off-by: Christian Wiese <chris@opensde.org>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
built_in.h