diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 721b488c0874a6a0bbb4f2a152e522d9a5fedb35..be79b51a17b56e3473cb55260dfa56c2511a2897 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -63,7 +63,7 @@
  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- *	  $Id: s_lock.h,v 1.96 2001/12/11 02:58:49 tgl Exp $
+ *	  $Id: s_lock.h,v 1.97 2002/01/29 15:44:42 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -156,7 +156,7 @@ tas(volatile slock_t *lock)
  */
 #define TAS(lock)	   tas(lock)
 
-static inline int
+static __inline__ int
 tas(volatile slock_t *lock)
 {
 	int			_res;