--- openslp-1.3.0/common/slp_spi.c~ 2004-03-04 03:38:49.000000000 +0100 +++ openslp-1.3.0/common/slp_spi.c 2004-03-04 03:38:49.000000000 +0100 @@ -267,9 +267,9 @@ fp = fopen(spifile,"r"); if(fp) { - result = xmalloc(sizeof(structSLPSpiHandle)); + result = xmalloc(sizeof(struct _SLPSpiHandle)); if(result == 0) return 0; - memset(result, 0, sizeof(structSLPSpiHandle)); + memset(result, 0, sizeof(struct _SLPSpiHandle)); result->spifile = xstrdup(spifile); result->cacheprivate = cacheprivate;