libcdio.git - libcdio

index : libcdio.git
libcdio
summary refs log tree commit diff
path: root/example/eject.c
diff options
context:
space:
mode:
authorR. Bernstein <rocky@gnu.org>2009年11月26日 05:31:39 -0500
committerR. Bernstein <rocky@gnu.org>2009年11月26日 05:31:39 -0500
commit35663d626645eb298b59b1dfef31b8f36f5c3787 (patch)
treea31b383433cffb34faaffa331f05ce7b9dcac6b8 /example/eject.c
parent9bec7fc20431c3a6527ea419eaceebe49737d9dc (diff)
downloadlibcdio-35663d626645eb298b59b1dfef31b8f36f5c3787.tar.gz
Possibly make compiling example programs easier from the outside - don't assume HAVE_CONFIG_H is defined but pick up values from the runtime version of that file. We also now run example programs as tests if they are built.
Diffstat (limited to 'example/eject.c')
-rw-r--r--example/eject.c 5
1 files changed, 1 insertions, 4 deletions
diff --git a/example/eject.c b/example/eject.c
index 1504bcf7..d239ef25 100644
--- a/example/eject.c
+++ b/example/eject.c
@@ -24,16 +24,13 @@
See also corresponding C++ program of a similar name.
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <cdio/cdio.h>
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
-#include <cdio/cdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
generated by cgit v1.2.3 (git 2.25.1) at 2025年10月01日 08:06:21 +0000

AltStyle によって変換されたページ (->オリジナル) /