# Problem with language-c on arm + Mac

**URL:** <https://discourse.haskell.org/t/problem-with-language-c-on-arm-mac/3841>\
**Category:** Learn\
**Created:** [December 25, 2021, 2:16pm UTC](https://discourse.haskell.org/t/problem-with-language-c-on-arm-mac/3841 "2021-12-25T14:16:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmchale](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/vmchale/32/86_2.png) [@vmchale](https://discourse.haskell.org/u/vmchale)\
**Post date:** [December 25, 2021, 2:16pm UTC](https://discourse.haskell.org/t/problem-with-language-c-on-arm-mac/3841/1 "2021-12-25T14:16:47Z")

</div>

Hello all,

I am trying to bind Rust’s regex library (including the [header file](https://github.com/rust-lang/regex/blob/master/regex-capi/include/rure.h)) using c2hs, which parses C header files using language-c.

However, I encounter the following!

```haskell
c2hs: C header contains errors:

/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h:445: (column 2) [ERROR] >>> Syntax error !
  The symbol `__uint128_t' does not fit here.

```

I already ran into a [similar issue](https://github.com/visq/language-c/issues/64), however, that was fixed by including `stdint.h` and this is not!

Is there something I should be `#include`ing here? Should I ask for a fix upstream in `language-c`?

---

<div class="post-metadata">

**Author:** ![angerman](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/angerman/32/892_2.png) [@angerman](https://discourse.haskell.org/u/angerman)\
**Post date:** [May 18, 2022, 6:28am UTC](https://discourse.haskell.org/t/problem-with-language-c-on-arm-mac/3841/3 "2022-05-18T06:28:10Z")

</div>

> <https://github.com/visq/language-c/pull/89>
>
> It seems that macOS on aarch64 has makes use of \`\_\_uint128\_t\` in its header file…s without ever defining it. Apparently that is not unusual.
> 
> See https://www.linuxfixes.com/2021/10/solved-is-there-128-bit-integer-in-gcc.html
