diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c
index 5b2ff8e27969b6503ba2871f556df79f3cb7623c..79201af650c02b22a3ca1eb4ab4861aa3f013cbd 100644
--- a/lustre/ptlrpc/service.c
+++ b/lustre/ptlrpc/service.c
@@ -42,7 +42,7 @@ unsigned int at_min = 0;
 CFS_MODULE_PARM(at_min, "i", int, 0644,
                 "Adaptive timeout minimum (sec)");
 
-#if HAVE_AT_SUPPORT
+#ifdef HAVE_AT_SUPPORT
 unsigned int at_max = 600;
 #else
 unsigned int at_max = 0;