Author: Michael Casadevall Description: Fixes a FTBFS on hurd (Closes: #433716). diff -Naur file.orig/src/magic.c file/src/magic.c --- file.orig/src/magic.c 2007-03-26 17:59:50.000000000 +0000 +++ file/src/magic.c 2007-07-19 06:25:16.000000000 +0000 @@ -58,6 +58,11 @@ #include #endif +#ifndef PIPE_BUF +// Get the PIPE_BUF from pathconf +#define PIPE_BUF pathconf(".", _PC_PIPE_BUF) +#endif + #include /* for byte swapping */ #include "patchlevel.h"