X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/f102aba78918f31feeb2b3d8a685faa7ebfd20be..6e5673aa1dcdb1ba7688b75f7f065353abc86159:/unixstuff.inc

diff --git a/unixstuff.inc b/unixstuff.inc
index 773656d..b522c74 100755
--- a/unixstuff.inc
+++ b/unixstuff.inc
@@ -159,5 +159,13 @@
         IPV6_V6ONLY         = 26;
     {$endif}
   {$endif}
+  {$ifdef freebsd}
+    //freepascal doesn't seem to define IPV6_V6ONLY on freebsd, the definition
+    //here is taken from the include files of a freebsd 8 system
+    const
+      IPV6_V6ONLY = 27;
+  {$endif}
+
 {$endif}
+
     
\ No newline at end of file