OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_2pre2-8-g39dc501

Gerrit Code Review
Thu, 10 Jan 2013 08:04:32 -0800 (PST)

The following commit has been merged in the openafs-stable-1_6_x branch:
commit 39dc50198e2cf61295e452d52536135a941d73d8
Author: Russ Allbery <>
Date:   Thu Jan 3 13:57:02 2013 -0800

    Ensure MIN/MAX are defined in userspace builds of rx
    The include of <sys/param.h> was removed from rx_packet.h on
    Linux 2.6 and later to fix kernel builds with 3.7, which doesn't
    have that header in kernel space.  However, while kernel space
    always provides MIN/MAX defines, userspace relied on the header.
    On at least powerpc, no other include chain includes sys/param.h,
    so MIN/MAX were left undefined.
    Fix this by only skipping the include of <sys/param.h> on Linux
    if building in kernel mode.
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Jeffrey Altman <>
    Tested-by: BuildBot <>
    Reviewed-by: Derrick Brashear <>
    (cherry picked from commit fe2bae1c83a6d050e0afb88bad8fe02beae343e7)
    Change-Id: I4b2b123c493ab35cbeff309db7ff58354afc170b
    Tested-by: BuildBot <>
    Reviewed-by: Paul Smeddle <>
    Reviewed-by: Stephan Wiesand <>

 src/rx/rx_packet.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

OpenAFS Master Repository