--- protocol/hp_ipp.c.orig 2015-04-14 11:53:09.000000000 +0200 +++ protocol/hp_ipp.c 2015-05-19 13:12:47.000000000 +0200 @@ -18,6 +18,9 @@ Boston, MA 02110-1301, USA. \******************************************************************************/ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include #include --- scan/sane/sclpml.c.orig 2015-04-14 11:53:17.000000000 +0200 +++ scan/sane/sclpml.c 2015-05-19 13:45:44.000000000 +0200 @@ -25,11 +25,16 @@ \************************************************************************************/ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif + #include #include #include #include #include +#include #include "sane.h" #include "saneopts.h" #include "common.h" --- scan/sane/bb_ledm.c.orig 2015-05-19 13:47:53.000000000 +0200 +++ scan/sane/bb_ledm.c 2015-05-19 13:48:42.000000000 +0200 @@ -26,7 +26,7 @@ # include "http.h" # include "xml.h" # include - +# include # include # define _STRINGIZE(x) #x --- scan/sane/hpaio.c.orig 2015-04-14 11:53:17.000000000 +0200 +++ scan/sane/hpaio.c 2015-05-19 13:51:21.000000000 +0200 @@ -43,6 +43,7 @@ #include "hpaio.h" # include "ledm.h" #include "sclpml.h" +#include "io.h" #define DEBUG_DECLARE_ONLY #include "sanei_debug.h" --- io/hpmud/jd.c.orig 2015-05-19 13:46:39.000000000 +0200 +++ io/hpmud/jd.c 2015-05-19 13:47:01.000000000 +0200 @@ -31,6 +31,7 @@ #endif #include +#include #include "hpmud.h" #include "hpmudi.h"