diff -urN linux-2.4.32/include/net/sock.h linux-2.4.32-no-netdebug/include/net/sock.h --- linux-2.4.32/include/net/sock.h 2006-06-19 19:40:07.000000000 +0200 +++ linux-2.4.32-no-netdebug/include/net/sock.h 2006-07-01 19:54:57.000000000 +0200 @@ -1367,7 +1367,7 @@ * Enable debug/info messages */ -#if 0 +#if !defined(WANT_NETDEBUG_MESSAGES) #define NETDEBUG(x) do { } while (0) #else #define NETDEBUG(x) do { x; } while (0)