PR ada/56274
	* s-osinte-kfreebsd-gnu.ads (pthread_rwlock_t): New subtype.
	(pthread_rwlockattr_t): Likewise.
From-SVN: r231337
+2015-12-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR ada/56274
+       * s-osinte-kfreebsd-gnu.ads (pthread_rwlock_t): New subtype.
+       (pthread_rwlockattr_t): Likewise.
+
 2015-12-06  Ludovic Brenta  <ludovic@ludovic-brenta.org>
 
        PR ada/49944
 
    PTHREAD_SCOPE_PROCESS : constant := 0;
    PTHREAD_SCOPE_SYSTEM  : constant := 2;
 
+   --  Read/Write lock not supported on kfreebsd. To add support both types
+   --  pthread_rwlock_t and pthread_rwlockattr_t must properly be defined
+   --  with the associated routines pthread_rwlock_[init/destroy] and
+   --  pthread_rwlock_[rdlock/wrlock/unlock].
+
+   subtype pthread_rwlock_t     is pthread_mutex_t;
+   subtype pthread_rwlockattr_t is pthread_mutexattr_t;
+
    -----------
    -- Stack --
    -----------