summaryrefslogtreecommitdiff
path: root/example/cdchange.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/cdchange.c')
-rw-r--r--example/cdchange.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/example/cdchange.c b/example/cdchange.c
index ca1ca918..9488dd5e 100644
--- a/example/cdchange.c
+++ b/example/cdchange.c
@@ -16,15 +16,17 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/* config.h has to come first else _FILE_OFFSET_BITS are redefined in
+ say opensolaris. */
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <cdio/cdio.h>
/* Test media changed */
#include <stdio.h>
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif