GitHub user jirib opened an issue:

    https://github.com/apache/trafficserver/issues/1306

    [openbsd] pthread_np.h needs to be included

    This passes at least some first steps in trying to build trafficserver on 
OpenBSD. Please consider this or better variation, thank you.
    
    ```
    kern.version=OpenBSD 6.0-current (GENERIC.MP) #0: Wed Nov 23 20:54:10 MST 
2016
        [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
    ```
    
    ```
    --- lib/ts/ink_thread.h.orig    Thu Oct 20 21:08:55 2016
    +++ lib/ts/ink_thread.h Sat Jan  7 21:16:56 2017
    @@ -44,6 +44,10 @@
     #include <signal.h>
     #include <semaphore.h>
    
    +#if defined(openbsd)
    +#include <pthread_np.h>
    +#endif
    +
     #if HAVE_PTHREAD_NP_H
     #include <pthread_np.h>
     #endif
    ```

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to