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:33:53 +0000 (09:33 -0700)
commit1805ee4b4d7c7a5be00bf57e97d885f8285ede59
tree5015c1cbb45b55a8f86b1c75f4f9229b32deaf37
parent51b50dfd0bbbaba9cd62d42530a3538b47785b15
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