It's better to check if the system have the header file we are looking than

just check if we are runing FreeBSD...

svn path=/trunk/kdenetwork/kmail/; revision=20126
wilder-work
Hans Petter Bieker 27 years ago
parent 48af2b4197
commit eb71e98a14
  1. 8
      kmacctlocal.cpp

@ -1,5 +1,9 @@
// kmacctlocal.cpp
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "kmacctlocal.h"
#include "kmfolder.h"
#include "kmmessage.h"
@ -14,9 +18,11 @@
#include <stdio.h>
#include <errno.h>
#include <klocale.h>
#ifdef __FreeBSD__
#ifdef HAVE_PATHS_H
#include <paths.h> /* defines _PATH_MAILDIR */
#endif
#ifndef _PATH_MAILDIR
#define _PATH_MAILDIR "/var/spool/mail"
#endif

Loading…
Cancel
Save