$NetBSD: patch-ad,v 1.1.1.1 2012/05/18 03:03:22 schnoebe Exp $

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

--- prnt/hpcups/ErnieFilter.cpp.orig	2010-07-19 02:14:09.000000000 +0000
+++ prnt/hpcups/ErnieFilter.cpp
@@ -50,7 +50,7 @@
 #include "ErnieFilter.h"
 
 
-#if defined(__APPLE__) || defined(__linux)
+#if defined(__APPLE__) || defined(__linux) || defined(__NetBSD__)
 #include <math.h>
 #endif
 
