~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools.fix-836277

« back to all changes in this revision

Viewing changes to lib/include/cpNameLite.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-07-30 12:56:49 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090730125649-97sfj5li8axiseoo
Tags: 2009.07.22-179896-2
* Temporarily building without dumbnet, the recently uploaded
  new dumbnet upstream version broke down (Closes: #539006).
* Using more common name to store local debian additions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#ifndef __CP_NAME_LITE_H__
41
41
#define __CP_NAME_LITE_H__
42
42
 
43
 
#if defined(__KERNEL__) && defined(__linux__)
 
43
#if defined __KERNEL__ && defined __linux__
44
44
#  include "driver-config.h"
45
45
#  include <linux/string.h>
46
 
#elif defined(_KERNEL) && defined(__FreeBSD__)
 
46
#elif defined _KERNEL && defined __FreeBSD__
47
47
#  include <sys/libkern.h>
48
48
#  define strchr(s,c)       index(s,c)
49
49
#else