aboutsummaryrefslogtreecommitdiffstats
path: root/lib/atexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/atexit.c')
-rw-r--r--lib/atexit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/atexit.c b/lib/atexit.c
index a401b2ff8..f4873c9ee 100644
--- a/lib/atexit.c
+++ b/lib/atexit.c
@@ -1,7 +1,9 @@
/* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */
/* This function is in the public domain. --Mike Stump. */
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
int
atexit (void (*f) (void))