diff --git a/src/include/config.h b/src/include/config.h
index 0bc1535e93559c5b09201449f830d0c5707d5a73..bdb36d8aacc9120a11fcc07567a54e1ae9b12b49 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -168,8 +168,9 @@
 #  define HAVE_TZSET
 #  define NEED_UNION_SEMUN 
 #  define SYSV_DIRENT
-#  define NEED_NOFILE_KLUDGE
 #  define SB_PAD 56
+#  define HAS_TEST_AND_SET
+typedef unsigned char slock_t;
 #endif
 
 #if defined(sunos4)