summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-07-14 23:59:45 +0000
committerJim Meyering <jim@meyering.net>1996-07-14 23:59:45 +0000
commit7cb6a4e2f1c8babf861d949ddcbc93b2c17003dc (patch)
treeafeba24a4200e901225fe3499e22b28290bbdc1b /lib
parent7d026dd508d744c089765fdb033b7e51485d0b5a (diff)
downloadcoreutils-7cb6a4e2f1c8babf861d949ddcbc93b2c17003dc.tar.xz
update fsf address
cpp-indent
Diffstat (limited to 'lib')
-rw-r--r--lib/stripslash.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/stripslash.c b/lib/stripslash.c
index 802204f25..d547e18cd 100644
--- a/lib/stripslash.c
+++ b/lib/stripslash.c
@@ -12,13 +12,17 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#if defined(STDC_HEADERS) || defined(USG)
-#include <string.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
+# include <string.h>
#else
-#include <strings.h>
+# include <strings.h>
#endif
/* Remove trailing slashes from PATH.