unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Compilation error fix on GNU/Linux
@ 2010-04-29 17:33 dhruva
  2010-04-30 13:51 ` Jan Djärv
  0 siblings, 1 reply; 2+ messages in thread
From: dhruva @ 2010-04-29 17:33 UTC (permalink / raw)
  To: Emacs Development

When building emacs using gcc 4.4.1 on GNU/Linux i686, I get an error saying LONG_MAX is not defined during compilation of src/xsetting.c. The following trivial patch fixes it.

$ bzr diff
=== modified file 'src/xsettings.c'
--- src/xsettings.c2010-04-22 17:23:18 +0000
+++ src/xsettings.c2010-04-29 17:28:58 +0000
@@ -18,6 +18,7 @@
 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "config.h"
+#include <limits.h>
 #include <setjmp.h>
 #include <fcntl.h>
 #include "lisp.h"

-dhruva






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-30 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-29 17:33 Compilation error fix on GNU/Linux dhruva
2010-04-30 13:51 ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).