util: Include pthread_np.h on FreeBSD
authorEd Maste <emaste@freebsd.org>
Fri, 30 Aug 2013 14:56:08 +0000 (10:56 -0400)
committerBen Pfaff <blp@nicira.com>
Fri, 30 Aug 2013 16:34:21 +0000 (09:34 -0700)
commit125dd65d1dd4031408d0d8d12948bee32478a49e
tree540cdae7ac1de097a3565c6e9754fd9c9c9bfaaf
parent6342550195498a84b972381b46e51210d9618abc
util: Include pthread_np.h on FreeBSD

On FreeBSD pthread_set_name_np's prototype is provided by pthread_np.h.
As I believe it is the only platform to provide the "set_name" (with an
underscore) variant I hope it's fine to use the existing autoconf macro
HAVE_PTHREAD_SET_NAME_NP.

Signed-off-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/util.c