Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define
_XOPEN_SOURCE=501
for xgterm/main.c
`main.c` uses the function `ptsname()` which is declared in `stdlib.h` as `char *` only if this is defined. Otherwise, the return value defaults to `int`, which will not correctly convert to a pointer on 64 bit archs.
- Loading branch information