$NetBSD: patch-ad,v 1.2 2013/09/12 16:12:13 schnoebe Exp $

# reported upstream as https://bugs.launchpad.net/hplip/+bug/726213

--- prnt/hpcups/ErnieFilter.cpp.orig	2013-09-05 08:49:06.000000000 +0000
+++ prnt/hpcups/ErnieFilter.cpp
@@ -50,7 +50,7 @@
 #include "ErnieFilter.h"
 
 
-#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__)
+#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__)
 #include <math.h>
 #endif
 
