Overview
| Artifact ID: | fc1b4d95bc9b4b7173294f726709cb3d0ce05d1d |
|---|---|
| Ticket: | 1444692fffffffffffffffffffffffffffffffff
HEAD fails to compile on FreeBSD 4.x |
| User & Date: | mistachkin on 2006-03-07 16:36:09 |
Changes
- icomment:
Logged In: YES user_id=113501 The fix for this appears to be simply adding an "#include <pthread.h>" line prior to the "#include <pthread_np.h>" line in "tclUnixPort.h" near line 576, as follows: # ifdef HAVE_PTHREAD_ATTR_GET_NP # define TclpPthreadGetAttrs pthread_attr_get_np # ifdef ATTRGETNP_NOT_DECLARED /* * Assume it is in pthread_np.h if it isn't in pthread.h. [Bug 1064882] * We might need to revisit this in the future. :^( */ # include <pthread.h> # include <pthread_np.h> # endif
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"