Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile fail due to missing unistd.h header #89

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments
Open

compile fail due to missing unistd.h header #89

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

compile fail with gcc-4.7.1, following patch fix the problem


ucimf.cpp: In function 'void ucimf_exit()':
ucimf.cpp:251:14: error: 'close' was not declared in this scope
ucimf.cpp: In function 'void init_keycode_state()':
ucimf.cpp:467:8: error: 'STDIN_FILENO' was not declared in this scope
ucimf.cpp: In function 'short unsigned int keycode_to_keysym(short unsigned 
int, char)':
ucimf.cpp:482:12: error: 'STDIN_FILENO' was not declared in this scope
ucimf.cpp:486:13: error: 'STDIN_FILENO' was not declared in this scope
ucimf.cpp:506:11: error: 'STDIN_FILENO' was not declared in this scope
ucimf.cpp:523:11: error: 'STDIN_FILENO' was not declared in this scope
ucimf.cpp: In function 'char* keysym_to_term_string(short unsigned int, char)':
ucimf.cpp:630:9: error: 'STDIN_FILENO' was not declared in this scope
libtool: compile:  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include 
-I../include/imf -I../font -I../display -O2 -march=i686 -pipe -O2 
-march=prescott -pipe -fomit-frame-pointer -fprefetch-loop-arrays -c 
graphport.cpp -o libucimf_la-graphport.o >/

Original issue reported on code.google.com by dennis.y...@gmail.com on 9 Aug 2012 at 9:04

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant