Integrate with Sarathy. perldiag.pod required manual editing.
[p5sagit/p5-mst-13.2.git] / ext / Fcntl / Fcntl.xs
index a8e0e8a..2446ab7 100644 (file)
@@ -108,6 +108,12 @@ constant(char *name, int arg)
 #else
                goto not_there;
 #endif
+           if (strEQ(name, "F_SETLK"))
+#ifdef F_SETLK
+               return F_SETLK;
+#else
+               goto not_there;
+#endif
            if (strEQ(name, "F_SETLK64"))
 #ifdef F_SETLK64
                return F_SETLK64;