summaryrefslogtreecommitdiff
path: root/devel/popt/files/patch-popt.c
blob: bb9ee3319f6ed10f9f290ceadba6a6fa28b8980d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- popt.c.orig	2010-01-19 08:39:10.000000000 +0800
+++ popt.c	2010-06-16 00:38:47.000000000 +0800
@@ -22,6 +22,9 @@
 #include <float.h>
 #endif
 #include <math.h>
+#ifdef __FreeBSD__
+#include <machine/float.h>
+#endif
 
 #include "poptint.h"