--- perl-shared/Makefile.PL.orig	Tue Jun 13 20:51:17 2000
+++ perl-shared/Makefile.PL	Tue Jun 13 20:51:19 2000
@@ -10,7 +10,8 @@
     'NAME'         => 'RRDs',
     'VERSION_FROM' => 'RRDs.pm', # finds $VERSION
     'DEFINE'	   => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}",
-    'INC'          => '-I../src -I../gd1.3',
+    'CCFLAGS'	   => "-DHAVE_CONFIG_H",
+    'INC'          => '-I../config -I../src -I../gd1.3',
     # where to look for the necessary libraries 
     # Perl will figure out which one is valid
     'depend'	   => {'RRDs.c' => "../src/.libs/librrd_private.a"},
