package/stress-ng: fix build without threads
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 4 Dec 2018 20:47:59 +0000 (21:47 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 6 Dec 2018 20:33:16 +0000 (21:33 +0100)
commitd935f001abbc8e414c72593f673530f1a481b249
tree7fd8a2f9c516454ad8dbcf10afae33e9ff2388d3
parent9f202c13978ab61042d13cebe435a4405646bb3e
package/stress-ng: fix build without threads

semaphore.h is available only if HAVE_LIB_PTHREAD and
HAVE_SEM_POSIX are defined

Fixes:
 - http://autobuild.buildroot.org/results/1c95898b2833683a22bbe2ff8471fa08d94210e1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: update upstream status of the patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/stress-ng/0001-stress-ng.h-fix-include-on-semaphore.h.patch [new file with mode: 0644]