GNOME Bugzilla – Bug 631510
Missing math.h include
Last modified: 2010-10-11 18:31:13 UTC
Created attachment 171818 [details] [review] Include math.h to fix compilation Building current git master fails for me on Debian Sid with: shell-recorder.c: In function ‘create_recording_icon’: shell-recorder.c:193: error: ‘M_PI’ undeclared (first use in this function) shell-recorder.c:193: error: (Each undeclared identifier is reported only once shell-recorder.c:193: error: for each function it appears in.) make[3]: *** [libgnome_shell_la-shell-recorder.lo] Error 1 Patch to include math.h attached.
A little unclear to me why you are hitting this and other people aren't, but that patch looks right to me. Pushed (with a small change to reorder the math.h include to preserve alphabetical ordering of the system includes.) Thanks!