diff --git a/LCS/Common/src/Net/Socket.cc b/LCS/Common/src/Net/Socket.cc
index 529ce9b4b3dfc7fb74ff420fc96e1781f49307bf..7516201690ab780ba2032941a2ccdbd42013cf9a 100644
--- a/LCS/Common/src/Net/Socket.cc
+++ b/LCS/Common/src/Net/Socket.cc
@@ -766,7 +766,7 @@ int32 Socket::setBlocking (bool block)
 	}
 
 	if (itsSocketID >= 0) {					// we must have a socket ofcourse
-#ifndef HAVE_BGL
+#if !defined HAVE_BGL && !defined HAVE_BGP
 		if (fcntl (itsSocketID, F_SETFL, block ? 0 : O_NONBLOCK) < 0) {
 			return (setErrno(SOCKOPT));
 		}