troglobit / editline

A small replacement for GNU readline() for UNIX
https://troglobit.com/projects/editline/
Other
283 stars 58 forks source link

Include sys/ioctl.h before calling ioctl() #4

Closed C0deH4cker closed 9 years ago

C0deH4cker commented 9 years ago

At least when building with Clang on OS X, there is an error on line 1120 of editline.c caused by using the ioctl() function without first declaring it by including its header (<sys/ioctl.h>). Adding this line makes the build complete without error.

troglobit commented 9 years ago

Merged to master, cheers! :smiley: