src/celestia/kde/kdeglwidget.cpp requires localtime() definition from time.h but that is only included from src/celestia/kde/kdepreferencesdialog.cpp. move the inclusion to src/celestia/kde/kdeapp.h which is included by both of them.
patch for celestia-1.3.0 sources: http://Xtrmntr.org/salo/celestia-1.3.0-time.h.diff
misplaced #include <time.h> in the KDE frontend
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 4 months
- Location: Lyon (France)
Once again thanks for your patch Salo, it's been commited.
In the future it'd probably best for you to post your patch on the developers list (celestia-developers@sourceforge.net), see here to join. I sometimes miss posts in the forum, but I never miss any post on the list.
In the future it'd probably best for you to post your patch on the developers list (celestia-developers@sourceforge.net), see here to join. I sometimes miss posts in the forum, but I never miss any post on the list.
Christophe
-
Topic authorsalo