aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-12-31 16:22:31 -0600
committerRob Landley <rob@landley.net>2014-12-31 16:22:31 -0600
commitde699accf6804e8b1d8042b46c85500ee8c672c6 (patch)
tree7b12adea478bcfd9355a4fda982d74c40810f42b /toys.h
parent774c599c7979392f4ec95e9b48ac25f0353c0c47 (diff)
downloadtoybox-de699accf6804e8b1d8042b46c85500ee8c672c6.tar.gz
When you include the posix header libgen.h, glibc #defines basename to some random other symbol name (because gnu) and this screws up nontrivial macro expansions of NEWTOY(basename), so work around it in portability.h.
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/toys.h b/toys.h
index 6b5f87aa..3b508497 100644
--- a/toys.h
+++ b/toys.h
@@ -17,7 +17,6 @@
#include <grp.h>
#include <inttypes.h>
#include <limits.h>
-#include <libgen.h>
#include <math.h>
#include <pwd.h>
#include <regex.h>