1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/testing/hfst/missing_unistd_include.patch
Frankie Robertson 630eb3cb5a Initial APKBUILD of HFST
Musl libc fixes submitted to upstream here: https://sourceforge.net/p/hfst/bugs/295/
2015-04-23 11:24:52 +02:00

10 lines
333 B
Diff

--- hfst-3.8.2/libhfst/src/implementations/optimized-lookup/transducer.h
+++ hfst-3.8.2/libhfst/src/implementations/optimized-lookup/transducer_new.h
@@ -14,6 +14,7 @@
#ifndef _HFST_OL_TRANSDUCER_TRANSDUCER_H_
#define _HFST_OL_TRANSDUCER_TRANSDUCER_H_
+#include <unistd.h>
#include <vector>
#include <set>
#include <iostream>